Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why cant I add two different event listeners in one applet?

 
Bobby Dillan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I added two methods:



It gives me:

The abstract method "void actionPerformed (java.awt.event.ActionEvent $1);", inherited from type "java.awt.event.ActionListener". is not implemented in the non- abstract class "Applet"



I honestly just don't get it....
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the rest of the code?
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bobby, you might like to consider replying to Rob Camick's response in your earlier thread. Ideally, you would have done that before asking another question.
 
Bobby Dillan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologize. I just came back to this site- I resolved the question where Rob replied.

Also there are multiple classes for the code so I feel leaving it as it is now is better. But I also resolved this issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic