public BouncingBalls() {
b1 = new Thread(ball1);
b2 = new Thread(ball2);
b3 = new Thread(ball3);
controlPanel();
}
private void controlPanel() {
...
Type: Posts; User: newbie
public BouncingBalls() {
b1 = new Thread(ball1);
b2 = new Thread(ball2);
b3 = new Thread(ball3);
controlPanel();
}
private void controlPanel() {
...
I'm currently in the process of writing a bouncing ball program with threads. The program will bounce 3 balls concurrently.
I add a border around one instance of the Ball class, which extends...