Java timers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aleap2007
    New Member
    • Aug 2007
    • 1

    #1

    Java timers

    How would i make a timed loop that loops every 10 milliseconds using a timer?
  • blazedaces
    Contributor
    • May 2007
    • 284

    #2
    Originally posted by aleap2007
    How would i make a timed loop that loops every 10 milliseconds using a timer?
    Yo, check out the Timer class here:

    http://java.sun.com/j2se/1.3/docs/api/java/util/Timer.html

    Unless you're very new to programming all you need is in that class, you can schedule events at certain interval delays... exactly what you need right?

    good luck
    -blazed

    Comment

    Working...