Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing Timer and system time(Machine time)

 
prasanna rode
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Swing timer and Thread in my application.
When a am trying to change system (machine) time to back date, then thread is working properly but timer getting stop automatically.
Please tell me solution.

------------------
Prasanna
 
Greg Mehlhose
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand the problem that you are experiencing, but this link on threads and timers may help.
http://java.sun.com/docs/books/tutorial/essential/threads/timer.html
 
prasanna rode
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using "Swing.Timer" class in my appliction.
When I try to change System date that means my machine date to back dated them timer in my application doen't perform any action.

[This message has been edited by prasanna rode (edited June 28, 2001).]
 
Stacy Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can u tell me how to change the system time (machine time) please
thanks
Stacy
 
prasanna rode
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change your windows('98,2000, NT) machine time by double clicking on clock which is shown on the right corner of taskbar.
Thanks
Prasanna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic