This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Error" Watch "Error" New topic
Author

Error

doburomirushii nikku
Ranch Hand

Joined: Oct 06, 2004
Posts: 31
C:\Documents and Settings\Tidus\Desktop\MultArray.java:9: MultArray is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener
public class MultArray extends JApplet implements ActionListener {

I get that error at the top, when I go to complile. I don't know whats wrong with it, I have that in many of my programs and it works fine.
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Did you override actionPerformed(java.awt.event.ActionEvent) in your subclass? If so, did you spell the name of the method correctly? (That error has happened to me before...)

If these suggestions do not help, plase post your code so that we can get a better look at the problem.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
doburomirushii nikku
Ranch Hand

Joined: Oct 06, 2004
Posts: 31
You fixed it! Thanks mate, It when over my head, I fogot to capitalize the P in actionPerformed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error
 
It's not a secret anymore!