|Drag from SWT to Desktop [message #412360]
||Fri, 23 January 2004 17:27
Originally posted by: daniel.gaiottino.com|
I am trying to work with SWT and find it much easier to work with than
Java SWING. I am having one problem though in my project. I am comverting
an application i wrote with Suns java & swing into SWT and cannot seem to
find how to drag from my SWT application to my desktop.
I had no problem dragging an image from my desktop ontop of a canvas and
then displaying the image on the canvas, but i cant seem to figure out how
to drag an image on a canvas to my desktop. I have enebled Drag from my
canvas and can Drag/Drop between two canvases but not to my desktop or any
other native folder.
Had i gotten the path of where my drop occured then i could just create a
new file there but i am not getting this either.
Could someone show me a snippet for this or let me know how to proceed?
I've read the Drag and Drop articles but didn't get any wiser. A kick in
the right direction would be great.
Powered by FUDForum
. Page generated in 0.04374 seconds