Visit www.myprogramminglab.com to complete select exercises online and get instant feedback.
Exercise
Produce a GUI similar to the one in Display except that instead of filling an area with circles, it launches a ball (which is just a circle) and the ball bounces around inside a rectangle. You can create the illusion of a moving ball by repeatedly erasing the ball and redrawing it at a location a little farther along its path. Look up the method setXORMode in the class Graphics. It will take care of the erasing.
Display Threaded Version of FillDemo (part 1 of 3)
Display Threaded Version of FillDemo (part 2 of 3)
Display Threaded Version of FillDemo (part 3 of 3)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.