Program by Java Applet