Java Applet: Racing balls along different tracks