main applet file