Your code is not really drag and drop. It's only following mouse presses and movements with a change of cursor.
Do a Google on DragSource or DragTarget to see code that uses DnD classes.
To drag...
Type: Posts; User: Norm
Your code is not really drag and drop. It's only following mouse presses and movements with a change of cursor.
Do a Google on DragSource or DragTarget to see code that uses DnD classes.
To drag...
To recognize the mouse presses and movements, you need to use mouse listeners.
When the mouse is pressed in one of the labels, you'll need to keep track of where the mouse is moved to and...
Can you explain this please?
What's an item and where is it?
What is the 'field'?