File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Why cant I add two different event listeners in one applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Why cant I add two different event listeners in one applet?" Watch "Why cant I add two different event listeners in one applet?" New topic
Author

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

Bobby Dillan
Greenhorn

Joined: Mar 20, 2013
Posts: 5
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

Joined: Feb 07, 2005
Posts: 2367
Can you post the rest of the code?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
Bobby Dillan
Greenhorn

Joined: Mar 20, 2013
Posts: 5
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Why cant I add two different event listeners in one applet?
 
Similar Threads
fireActionPerformed()
handling button events
invokeLater()
Help with Jbuttons JText Lotto
ActionListener code. Problem deciphering of