The ActionEvent Class
An ActionEvent is generated when a button is pressed, a list item is double-clicked, or a menu item is selected.
The ActionEvent class defines four integer constants that can be used to identify any modifiers associated with an action event:
- ALT_MASK
- CTRL_MASK
- META_MASK
- SHIFT_MASK
- ACTION_PERFORMED