View Single Post
Old 12-12-2004, 03:01 PM   PM User | #2
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
When you declare your class you need to specify that it implements the ActionListener interface:
Code:
class tester implements ActionListener {
otherwise the compiler won't know it can treat your class as an ActionListener and give you the error you mentioned when you try to pass it to a method that takes an ActionListener as a parameter.

shmoove
shmoove is offline   Reply With Quote