Testing java applet