Skip to Main Content

Drop action for droping a shortcut to desktop

843807Jun 8 2010 — edited Jun 9 2010
Hello,

I want to drop a shortcut to desktop from a GUI component.

In Transferable class getTransferData method DataFlavor passed on drop action is application/x-java-serialized-object; class=java.lang.String.
In DragSourceListener impl class dragEnter method parameter shows Copy and Move action can be used (DragSourceDragEvent.getDropAction()).
Cursor stays as crossed circle so dropping not available.

Anybody know how to do it?
Comments
Post Details
Added on Jun 8 2010
1 comment
520 views