Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    7,120

    Re: Bouncing Balls

    Yeah, that should work too (and better than Threads, because I think Timers have a bit of built-in assurances that the firings are fairly uniform). And a lot of this comes down to personal...
  2. Replies
    6
    Views
    7,120

    Re: Bouncing Balls

    Yeah, I'd do that by using different values for delta x and y. It will get jerky if those values get too large, but if you're dealing with more than 25 or so frames a second, I don't see that being...
  3. Replies
    6
    Views
    7,120

    Re: Bouncing Balls

    Pretty much what Norm said.

    There is no reason to use multiple threads for this- in fact, there are a few reasons NOT to use multiple threads here! Instead, use a single Swing Timer that updates 5...
Results 1 to 3 of 3