public interface ActionListener extends EventListener
addActionListener method. When the action event occurs, that object's
actionPerformed method is invoked.
ActionEvent,
How to Write an Action Listener
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent
Invoked when an action occurs.
|
void actionPerformed(ActionEvente)