i know java, ive had two classes in it but ive only written it in notepad.. lol
so here im trying to make an applet in netbeans and implement an action listener.. why do i get an error at my first line here:
import java.awt.event.*; import java.awt.*; public class applet1 extends java.applet.Applet implements java.awt.event.ActionListener
i.e this line:
public class applet1 extends java.applet.Applet implements java.awt.event.ActionListener
heres the error message i recieve:
applet1 is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener
what can i do to fix this? is netbeans doing something for me to where i dont have to write this? or do i have to use a frame?