![]() |
![]() |
![]() |
![]() |
![]() |
|
To put function behind your menu bar, menu, and menu items, you define an
inner class that implements the ActionListener interface. That
ActionListener interface is the same interface that you used to implement
the listener for JTextField and JButton instances in
Chapter 49.