A DESCRIPTION OF THE REQUEST :
I have an application that displays a list of remote files (files to which I do not have the data locally represented). I would like to be able to drag items from this list to a native external application (such as the Windows Explorer, Macintosh Finder, etc).
JUSTIFICATION :
There is no way that I know of to transfer a temporary object (such as a javaFileListFlavor) where that list of files does not currently reside locally on the machine.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I set up a transferable where the flavor is a javaFileListFlavor. This is something the Explorer knows how to handle and allows for it. When the mouse is released a callback is made to notify me of the target (it would be nice to know if the target is a trash can/recycle bin) so I can download the files. From that point the drop can procede as usual once the data is prepared.
ACTUAL -
I can fake the drop to be a javaFileListFlavor but only empty files are written. I don't want to start preparing the files until the drop is done because the download can be time consuming. Plus, if the user drags to the system trash, I would like to know this to do a different behavior.