first try at java applet