permaculture playing cards
The moose likes Swing / AWT / SWT and the fly likes Bouncing Circles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic

Bouncing Circles

Rose Jac
Ranch Hand

Joined: May 20, 2011
Posts: 33

I want to bounce multiple circles off the Boundaries of an applet.
Till now, I have been able to do only one bouncing circle, whose x and y coordinate are explicitly specified in the program.
I want to add the circles from an arrayList.
Do i have to have multiple threads for such a program ie one thread for one circle?

Any help or tutorial on the same?

Darryl Burke

Joined: May 03, 2008
Posts: 5115

How is this different from your previous thread Moving Circles?

You have already been asked once before to Use One Thread Per Question.

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: Bouncing Circles
It's not a secret anymore!