@Override
 public void mouseMoved(MouseEvent e) {
   super.mouseMoved(e);
   resetDrag();
 }
 @Override
 public void mouseMoved(MouseEvent e) {
   super.mouseMoved(e);
   mouseX = e.getX();
   mouseY = e.getY();
 }