Testing Java Applet