Composing an Applet of a Class Which Implements Runnable:
This example is a little complicated, so here's an overview. It has three classes:
1. class click implements Runnable
2. class TOG implements ActionListener
3. class ccc extends Applet
The applet class is composed of five instances of the click class and five instances of the TOG class. Inspect the click class. In particular, pay close attention to its run() method and its think() method. Notice the use of suspend(), resume(), and sleep().