0
public void mouseWheelMoved(MouseWheelEvent arg0)
{
    if(dragging)
    {
        drag.rotate();
        drag.setLocation(getMousePosition());
        getContentPane().repaint();

    }


}

drag is the label I'm dragging and it doesn't set the location to the mouse position until after I drag it again.

Kara
  • 6,115
  • 16
  • 50
  • 57

0 Answers0