|
method not abstract, does not override actionperformed method.
i am completely new to java, so this might be a very basic question.
i am trying to make this applet that a user can define red, blue and green in numbers and then the number displays as the applets background color.
but when i compile it gives this error message
E:\java\ch6\myColor.java:15: myColor is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener
public class myColor extends Applet implements ActionListener
Last edited by Theman : 05-08-2007 at 07:02 AM.
|