void (MouseEvent event) { myCurrentScreenX = event.getX(); myCurrentScreenY = event.getY(); myModifiers = event.getModifiers(); myButton = event.getButton(); myInputEvent = event; myToolProvider.setEvent(event); }