Drag and drop files and folders from OS Explorer to JDesktopPane (netbeans platform 7.3)?

351 views Asked by At

I was wondering if there was some way to handle the Drag&Drop between the OS Explorer and a JDesktopPane (embedded in a netbeans application).

After a few hours crawling the internet, I found nothing relevant of such a behavior.

In the "java-to-OS" way, I can understand it could not be possible, but in the other way it should be possible to get the File (or similar) of the dropped explorer item.

Any ideas ?

EDIT

Found partial solution here : how to drag and drop files from a directory in java

But no solution for reverse operation (from Java to OS)...

0

There are 0 answers