This site requires JavaScript, please enable it in your browser!
Greenfoot back
Andriyanto
Andriyanto wrote ...

2012/5/10

cannot find symbol-constructor

Andriyanto Andriyanto

2012/5/10

#
i'm sorry if my english not good.. but this is my code public void menu() { removeObjects(getObjects(null)); setBackground("CoverDepan1.png"); TombolMulai tombol1=new TombolMulai(); addObject(tombol1,529,219); TombolPetunjuk tombol2=new TombolPetunjuk(); addObject(tombol2,529,285); TombolPembuat tombol3=new TombolPembuat(); addObject(tombol3,529,350); } How to solve an error? please help me..
davmac davmac

2012/5/10

#
Use tags around your code... and tell us which line the error occurs on.
Andriyanto Andriyanto

2012/5/19

#
error in line TombolPembuat tombol3=new TombolPembuat();
trash1000 trash1000

2012/5/19

#
You probably wrote a constructor in the class TombolPembuat that takes parameters. Unless you haven't written another that does not take parameters you cannot call the constructor of that class without parameters.
Andriyanto Andriyanto

2012/5/20

#
ok thank you..i have solve an error..
You need to login to post a reply.