All the IDs for mouse events are defined in the MouseEvent class : WindowFocusListener « Swing Event « Java Tutorial






  1. MOUSE_CLICKED
  2. MOUSE_PRESSED
  3. MOUSE_DRAGGED
  4. MOUSE_ENTERED
  5. MOUSE_EXITED
  6. MOUSE_RELEASED
  7. MOUSE_MOVED
  8. MOUSE_WHEEL
15.42.WindowFocusListener
15.42.1.The WindowFocusListener Interface: respond to a window gaining or losing the focus
15.42.2.All the IDs for mouse events are defined in the MouseEvent class