-
February 4th, 2004, 12:40 AM
#1
Member
Java Code Help
Hi
Ive got the following code in java and would like to modify it so that the user can define how many balls are displayed in the Balls window.
Anyone know how i do this ??
thanks
import BallsLib.*;
public class OneBall
{
public static void main (String args[])
{
int maxNumBalls = 1 ;
BallsFrame f;
f = new BallsFrame (maxNumBalls) ;
f.addBalls();
}
}
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
|
|