I really need some help with my java project.
I need to create a windmill with moving blades and a cloud moving from the left side to the right side.
I already did the moving blades but when i try to make the windmill i fail with 13 errors.
I'll subit the code directly under here, maybe someone can say what i did wrong...
I hope you guys can, thanks in advance.
My code:
/**
* @(#)JavaTest.java
*
* JavaTest Applet application
*
* @author
* @version 1.00 2012/4/11
*/
import logotekenap.*;
public class JavaTest extends TekenApplet
{
double hoek;
public void initialiseer()
{ maakAnimatieMogelijk();
}
public void tekenprogramma()
{ penUit();
stap(100,100);
penAan(150, 75, 0) ;
rechts(hoek);
vierkant(100);---
}
void vierkant(double z)
{ vulAan("rood");
for(int i=0 ; i<4 ; i++)
{
vooruit(150);links(90);
vooruit(37.5);links(90);
vooruit(150);rechts(90);
vooruit(112.5);links(90);
vooruit(37.5);links(90);
vooruit(150);rechts(90);
vooruit(112.5);links(90);
vooruit(37.5);links(90);
vooruit(150);rechts(90);
vooruit(112.5);links(90);
vooruit(37.5);links(90);
vooruit(150);links(90);
vooruit(37.5);
}
{
vulUit();
}
public void animatie();
{ while(animatieLopend())
{ hoek = hoek + 0.1;
tekenOpnieuw();
}
}
public void tekenprogramma()
{ penUit();
stap(100,100);
penAan(255, 0, 0) ;
molen(100);
void molen
{ vulAan("rood");
for(int i=0 ; i<4 ; i++)
{
vooruit(100);links(90);
vooruit(25);links(90);
vooruit(250);rechts(90);
vooruit(250);links(90);
vooruit(250);links(90);
vooruit(25);rechts(90);
vooruit(100);links(90);
vooruit(200);links(90);
}
{
vulUit();
}











