@Override public void mouseMoved(MouseEvent e){
synchronized (mouseLock) {
    mouseX=userX(e.getX());
    mouseY=userY(e.getY());
  }
}

@ Override public void mouseMoved ( MouseEvent e ) { synchronized ( mouseLock ) { mouseX = userX ( e . getX ( ) ) ; mouseY = userY ( e . getY ( ) ) ; } }
this method cannot be called directly .
