View Single Post
  #8   Spotlight this post!  
Unread 23-02-2010, 10:39
JasonStern JasonStern is offline
Mentor
FRC #1123 (AIM Robotics)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Arlington, VA
Posts: 65
JasonStern is on a distinguished road
Re: Using TimerTasks

Quote:
Originally Posted by ericarseneau View Post
... does not mean that something will occurr every seconds of time.
You can call Timer.scheduleAtFixedRate if you want something to be run at a fixed period.

Timer.schedule will run something at a fixed delay instead.

Check out the javadocs for more info: http://www.wbrobotics.com/javadoc/java/util/Timer.html

-Jason
__________________
Que será será
Reply With Quote