The moose likes Swing / AWT / SWT and the fly likes Drag and Drop question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Drop question" Watch "Drag and Drop question" New topic

Drag and Drop question

Jeremy Zink

Joined: May 30, 2001
Posts: 3
How can I distinquish between two drag sources of the same data type? Both sources are Vectors, each of which is wrapped in it's own Transferrable as well as being assigned unique Data Flavors. However, inside the Drop() method where I ask isDataFlavorSupported( myFlavor), no distinction is made between the DataFlavor names. Any help in resolving this issue is greatly appreciated. This is only my second week working with dnd and I thought I had a pretty good understanding of the API up until this point.

I agree. Here's the link:
subject: Drag and Drop question
It's not a secret anymore!