|
-
October 7th, 2003, 04:48 AM
#5
Yes the loop is just a delay. Otherwise the applet would just be a blur. you have to adjust the count depending on how fast your computer is.
also this doesn't work
int x,y,X,Y;
you get the error variable may not have been initialized.
however, I believe that if you used the variable outside all the for loops, you wouldn't get an error.
you could do this though
int x=0,y=0,X=0,Y=0;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|