*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error
 
Similar Threads
Error 500: Can't instantiate class
abstract method
Valid class definition
abstract class
Abstract Inner Classes