Added an Applet class