added progressbar for java applet