This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "dragging Jlabel" Watch "dragging Jlabel" New topic

dragging Jlabel

vinay babu

Joined: Aug 13, 2001
Posts: 1
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

I agree. Here's the link:
subject: dragging Jlabel
Similar Threads
cloning labels
JLabel pan image
folders in gmail?
break statement question
Drag text field on label and set label's text in textfield