• Post Reply Bookmark Topic Watch Topic
  • New Topic

DnD: from non-Java app to Java app

 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a small class that extends JFrame and implements DropTargetListener. My aim is to drag icons from a non-Java program (specifically, shortcuts from the Windows desktop) to this application so I can grab some information about them. However, it seems that DnD only works with other Swing components. Is it possible to achieve what I want without resorting to JNI?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!