Hi,
I have a small program to test the ActionListener, but it gives errors.
Here's part of the code:
class ButtonListener implements ActionListener {
public void actionPerformed (ActionEvent e) {
....
Error:
ActionListener cannot be resolved or is not a valid superinterface
ActionEvent cannot be resolved (or is not a valid type) for the argument e
of the method actionPerformed
What am I missing?
Thanks!
Patrick
I have a small program to test the ActionListener, but it gives errors.
Here's part of the code:
class ButtonListener implements ActionListener {
public void actionPerformed (ActionEvent e) {
....
Error:
ActionListener cannot be resolved or is not a valid superinterface
ActionEvent cannot be resolved (or is not a valid type) for the argument e
of the method actionPerformed
What am I missing?
Thanks!
Patrick
Comment