Create Java applet