Switch applet base to JApplet