skeleton for the applet