Java Applet "Moving dot shows vectors of velocity and acceleration"