Applet finally working