![]() |
Bouncing Balls |
In the last post we learned what is & how to use Multithreading in JAVA. The next ideal task to learn is how to use multithreading for Animation or how to use Multithreading in Applets. Today we will discuss program of Bouncing Balls in Java by using Multithreading and Applet. I am going have a button to start the Balls from one point in the Applet window. We need Applet class, AWT class to perform this particular task.