Forums Register Login

Handeling DnD in Java

+Pie Number of slices to send: Send
Hello I have a question about DnD handling in java.

I know it's possible to handle Drag and Drop within one java application, however is it possible to handle items that are being dragged from outside a java application? For instance is it possible to handle a MS-Windows file being dropped in a java application?

To put it into context.
I want to drag a .exe file onto my Swing application, then a new button should be created on that component where the item was dropped. This button should have the same functionality as .... a .lnk file in windows explorer for instance.

Is there anyone who can give me some assistance?

Chris
+Pie Number of slices to send: Send
I presume you are aware of the section in the Java Tutorials about drag'n'drop?
Beware the other head of science - it bites! Nibble on this message:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1240 times.
Similar Threads
drag and drop from awindows file manager
Drag and Drop problem
DND out of an application?
DnD: from non-Java app to Java app
Finding Location of a recently created file?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:33:37.