A Java applet is a generic object that knows how to run an application.

In terms of Tetris code length, my applet class is the smallest class: all I have to write is "Applet, make me a Tetris!" Because of one small line of code, a whole program comes to life--objects create objects which create objects which extend objects which define methods which call methods which take parameters and set up conditions which use variables and increment variables and return results and pass references....In other words, the applet class is the beginning of an intricate network of associations, a small spark that fuels a blaze.

contains: Tetris