applet class