Timing is Everything  By Chet Haase (with helpful input from
Scott Violet, Hans Muller, Christopher Campbell, and Vincent
Hardy), May 12, 2005   This article originally appeared on
java.net. It's About Time Going Beyond the Built-In Timers
Overview of the Timing Model Features in TimingController
Introduction to the Code Future Work Appendix: Timing Resolution
It's About Time  I recently wrote a simple demo application to
show off a particular point for a presentation on dynamic
effects in Swing. In the course of this, I once again realized
what a complete hassle it is dealing with timing and animation
issues.  For example, suppose I wanted to have a simple
animation where an image moves across the screen back and forth
ten times, each time taking 500 milliseconds. I'd like to update
its position every 30 milliseconds (about 30 frames per second),
I'd like to pause for 50ms before starting, and finally, I'd
like it to hold its final position when it is finished. I should
be able to write code akin to the fo