Replace frame with applet