Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error

 
doburomirushii nikku
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
doburomirushii nikku
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You fixed it! Thanks mate, It when over my head, I fogot to capitalize the P in actionPerformed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic