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
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Jul 7 2010
Added on Jun 8 2010
1 comment
522 views