views:

93

answers:

3

How can I implement drag and drop on custom components, e.g. my own JPanel subclasses?

What I need is full Swing-like drag and drop support. With TransferHandlers, DropTargetListeners etc. So the trivial mousePressed() and mouseReleased() is not what I'm looking for.

+2  A: 

Perhaps Lesson: Drag and Drop and Data Transfer.

Istao
Konrad Garus
That's a great lesson!
Saher