unsuccessful attempt to make a working applet