aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes dragging Jlabel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "dragging Jlabel" Watch "dragging Jlabel" New topic
Author

dragging Jlabel

vinay babu
Greenhorn

Joined: Aug 13, 2001
Posts: 1
hi
i have JPanel wherin i have n labels
im using java.awt.dnd....this is preferred
i need to drag one of the labels to someother location on the panel
drag n drop action should be Move
ie when i drag a label it should be removed from the current location n placed in the new location
and i should have the shadow the label following the drag
i can have as many labels as i want...... any code references should help

 
Consider Paul's rocket mass heater.
 
subject: dragging Jlabel