218219220221222223224225226227228
switch (e.getID()) { case MouseEvent.MOUSE_ENTERED: listener.mouseEntered(e); break; case MouseEvent.MOUSE_EXITED: listener.mouseExited(e); break; case MouseEvent.MOUSE_PRESSED: listener.mousePressed(e); break; case MouseEvent.MOUSE_RELEASED: