Added Simple java applet code