Java applet examples:
Applet laser
Applet thread
Applet scrollbar
Applet doubleBuffering
Exercise:
Use java applet to implement games, such as PingPong and Tetris.