void (int x, int y) { Object mouserelease = mousepressed; Object releasepart = pressedpart; mousepressed = pressedpart = null; handleMouseEvent(x, y, 1, false, false, false, MouseEvent.MOUSE_RELEASED, mouserelease, releasepart); }