Chapter 3: The building blocks of an Applet