added abstract applet class