A Java applet that calculates integers