Welcome to Sandra's webpage:
Move your mouse around inside the applet window. Dots are created along the mouse trace, and they grow bigger, lighter,and disappear eventually. This little program consists of three classes, ClickDots, Dot, and Repaint. Dot is just the dot, it gets created, and grow bigger and every time it gets painted the color gets lighter, and eventually, it dies (just like every other creatures on earth). Repaint is just a thread created when the game is created, and keeps repainting the applet. ClickDots is the main class of this program, which contains all the threads, and creats new dots along the trace of the mouse. By the way, the name of "ClickDots" doesn't have anything to do with clicking, it impementes MouseMotionListener instead of just MouseListener. Here are the source code: ClickDots Dots Repaint