add frame to applet