Folder « Drag Drop « Java Swing Q&A





1. Swing application -> Drag & drop to the desktop / folder    stackoverflow.com

When Finder of Mac, Explorer of Windows did drag & drop of a specific item in the Swing application to a desktop and a folder, How to get the former path ...

2. Drag and Drop folder?    coderanch.com

3. How can I get current File-Folder location during DnD outside JVM?    coderanch.com

Greetings Ranchers, I want to have a Swing application from which I can drag & drop files between desktop & applications. Dragging and dropping files into JComponents is kind of well documented. But is there way to do the exact opposite copying someting from Swing application to JDesktop? i.e creating a Transferable object using flavor DataFlavor.javaFileListFlavor If that is not possible ...