This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 4989

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!