Java Applet "Forces and Motion on Horizontal Plane"