Dialogue: ActionEvents 1
The following user actions in the Word sort application generate ActionEvents
- Pressing the add button
- Pressing the delete button
- Pressing the sort button
- Pressing the quit button
- Hitting <return> with the mouse cursor in the text field
-
These events have to be handled by an implementation of the ActionListener class.
Again, the ActionListener class is an interface only, so you must implement it.
However, it has only one callback method so its implementation is not too tedious.