Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer

Status
Not open for further replies.

kingdech

Programmer
May 26, 2005
4
GB
Hi,

I need a timer with the same functionality as javax.swing.Timer but my program is headless and gives errors over X window using that class. I know theres a Timer class in util too, but that seems to be more of a scheduler than timer.

I need a way to time my thread execution time, stopping it after say 60mins by checking every so often with the timer. Right now I am using the swing timer but its not stable as the swing stops it running as a background process.

Help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top