Fixed up the applet class