File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1815
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.
 
wood burning stoves
 
subject: Error
 
Similar Threads
abstract method
Abstract Inner Classes
Valid class definition
abstract class
Error 500: Can't instantiate class