WaitNotifyExample -- controlling thread activity with wait and notify methods.

This applet creates three threads that repeatedly wait on the applet's monitor.

Experiment:



The source.