Can't find symbol class

Hi all

I'm a noob in java and i got a problem (noobproblem :P).

I got this code:

import java.awt.*;

import java.awt.event.*;

publicclass stapfigurenextends Appletimplements ItemListener, MouseListener, MouseMotionListener

{

Menu index, r, c, l;

MenuBar balk;

MenuItem r1, r2 , c1, c2, l1, l2;

publicvoid init()

{

balk =new MenuBar();

index =new Menu("Bestand");

r =new Menu("Rechthoek");

r1 =new MenuItem("Voorbeeld");

r2 =new MenuItem("Zelf tekenen");

r.add(r1);

r.add(r2);

index.add(r);

c =new Menu("Cirkel");

c1 =new MenuItem("Voorbeeld");

c2 =new MenuItem("Zelf tekenen");

c.add(c1);

c.add(c2);

index.add(c);

l =new Menu("Lijn");

l1 =new MenuItem("Voorbeeld");

l2 =new MenuItem("Zelf tekenen");

l.add(l1);

l.add(l2);

index.add(l);

balk.add(index);

setMenuBar(balk);

}

}

But i got errors like, can't find symbol line 2 and can't find symbol classes!

Could anybody help me and rewite or fix this code plz!!!

SY, jasper

[2154 byte] By [Jasper_Kouwenberga] at [2007-10-2 21:52:14]
# 1
Please post your error messages..One problem appears to be you did not "import java.applet.Applet;" Other problem is you did not write code for the methods of the interfaces that you are implementing.
atmguya at 2007-7-14 1:08:08 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...