This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 1817

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.
 
jQuery in Action, 2nd edition
 
subject: Error
 
Similar Threads
Error 500: Can't instantiate class
abstract method
Valid class definition
abstract class
Abstract Inner Classes