drag from java and drop to native application
Is it possible to somehow override the code that handles dropping on a native application (e.g. Windows Explorer)? I have a Java client that allows a user to browse and download files on a remote server. To do this, the user chooses the files to download and clicks a "Download" button. I want to allow the user to drag the files from the remote server and drop them on the local machine. From what I can see, the built in support for dragging files to Windows requires you to provide a list of java.io.Files. Since these files don't exist on the local machine, I have to download them first to some temporary location and then provide this list. This has to occur in the getTransferData of my Transferable. Because this is invoked on the event thread, my UI is locked while the download occurs.
If possible, I would like to replace the built-in code with custom code that could handle doing the download to the local machine while allowing the UI to remain active. The way this would work would be similar to how you can drag and drop files from an FTP server in the Filezilla client to your desktop. You drag and drop the files and you get a list of files to be transferred in the queued files tab.
I've been searching for a couple of days now and haven't been able to find a solution for how to do this. Pretty much all of the examples I can find deal with dragging from a native application to Java or dragging and dropping within a Java application. Any help would be greatly appreciated.