Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: drag item or insert item into new Jlabel in JPanel

    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...
  2. Re: drag item or insert item into new Jlabel in JPanel

    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...
  3. Re: drag item or insert item into new Jlabel in JPanel

    Can you explain this please?
    What's an item and where is it?
    What is the 'field'?
Results 1 to 3 of 3