Act that causes the event
|
Listener type
|
User clicks a button, presses Enter while typing in a text field, or chooses a menu item |
ActionListener |
User closes a frame (main window) |
WindowListener |
User presses a mouse button while the cursor is over a component |
MouseListener |
User moves the mouse over a component |
MouseMotionListener |
Component becomes visible |
ComponentListener |
Component gets the keyboard focus |
FocusListener |
Table or list selection changes |
ListSelectionListener |
Any property in a component changes such as the text on a label |
PropertyChangeListener
|
Adjust a "slider" control (or similar)
|
ChangeListener
|