You must implement the ActionListener interface by creating a new class or have your main class implement it for you. See
How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With...
Type: Posts; User: copeg
You must implement the ActionListener interface by creating a new class or have your main class implement it for you. See
How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With...