• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handeling DnD in Java

 
Chris Romkema
Greenhorn
Posts: 2
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume you are aware of the section in the Java Tutorials about drag'n'drop?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic