File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes drag and drop from awindows file manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "drag and drop from awindows file manager" Watch "drag and drop from awindows file manager" New topic
Author

drag and drop from awindows file manager

aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
hi all,

is it possible in java to drag and drop a file from windows into a java application.
Iam developping the interface for an application that supports file sharing, and I want the user to drag and drop the file it wants to share into some part of the GUI.

is that possible? if yes how can it be done ???

thanks a lot for your help.
regards,
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
See How to Use Drag and Drop and Data Transfer in the Swing tutorial.
File transfer is discussed in the section Importing a New Flavor: Files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: drag and drop from awindows file manager