This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Timer  RSS feed

 
Matt Booth
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

I'm currently trying to use LWJGL (www.lwjgl.org) but having trouble with the timer functions.

If anyone has an example of a timer that could be used i'd really appreciate

Cheers
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Matt

you could use "javax.swing.Timer" to achieve your timer functions, if I have understood what you said. Just have a look at the Java API or Swing tutorial about how to use javax.swing.Timer.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!