Just keep in mind that the timer must be stopped before you ask for its elapsed time. It's legal to stop the timer more than once: just call stop() each time you need to see how long the timer has been running.
Note that this implementation relies on GWT functionality that is only available in the client runtime. You can't execute all of these methods from normal Java code, only GWT client code. Normal Java code should use the standard Timer class, which provides similar functionality.
@author Kenneth J. Pronovici
|
|