Drag n drop question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Drag n drop question

Noah White
Hi folks,

I'm interested in giving user the ability to drag and drop desktop icons onto my Java app and have its MAIN method launch with a list of the files that were dropped onto the icon.

I noticed that ImageJ seems to support this on Windows and I was wondering if someone could point me to the code in the github repo that implements this so I can an idea of how to go about this.

TIA,

-Noah
Reply | Threaded
Open this post in threaded view
|

Re: Drag n drop question

dscho
Hi Noah,

On Sat, 5 May 2012, Noah White wrote:

> I'm interested in giving user the ability to drag and drop desktop icons
> onto my Java app and have its MAIN method launch with a list of the
> files that were dropped onto the icon.
>
> I noticed that ImageJ seems to support this on Windows and I was
> wondering if someone could point me to the code in the github repo that
> implements this so I can an idea of how to go about this.

git grep DragAndDrop

;-)