Java Applet Life Cycle Source Code