Reaction Time Applet
This applet demonstrates a threaded program. While the ovals are being drawn, the computer can also look for mouse clicks. This is because the object that draws the dots runs separately from the applet (in a different 'thread').
To play, use the SPACEBAR to click the DRAW button, then press the SPACEBAR again when you see the red dots. The number of red dots is a measure of your 'reaction time'. The fewer red dots, the faster you are!
If you get a negative score, then you pressed the SPACEBAR before any red dots appeared --- that's CHEATING!