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

