Hello;
Well, I need to create a program that randomly inserts new different sized spheres into a swing panel and animates them [movement is delimited by the width and height of the frame - when they collide with the frame they bounce to a random direction].
How could I accomplish this tedious task?
With swing timers or thread pools ?
So I need to create a class that describes the sphere [its speed, dimensions, movement] and call the class when a certain criteria is satisfied [for the random insertion]. Any kind help would be great, because Im stuck:)
Joey