I have a Processing application written (by others) that uses [Andreas Schlagel's sDrop library|http://www.sojamo.de/libraries/drop/] to accept URLs dragged and dropped from the users' browsers' address bar. The application works fine for Chrome and for Firefox and for old versions of IE but not for IE 9 or IE 10. I'm investigating how to fix this.
In the sDrop library [the Java code to handle the drop|http://code.google.com/p/sojamo/source/browse/trunk/src/sojamo/drop/DropHandler.java] uses the Java class
DataFlavor which in turn defines a number of flavours:
imageFlavor
javaFileListFlavor
javaSerializedObjectMimeType
plainTextFlavor (deprecated)
stringFlavor
Over on
StackOverflow one questioner enumerates the data formats offered by the different browsers when they drop and for IE he lists:
UntrustedDragDrop
msSourceUrl
FileGroupDescriptor
FileGroupDescriptorW
FileContents
UniformResourceLocator
Effects: Link
The URL format does not seem to match the DataFlavors given by the class. Is this where the two additional DataFlavors, javaJVMLocalObjectMimeType and javaRemoteObjectMimeType come into there own? If so, then can someone point me at any samples, examples, tutorials, or code snippets where a Java application is the successful drop target for a URL dragged from IE's address bar?