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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refreshing time

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
Hi, I am just trying to get while loop to show time. It is running in it's own thread.

The loop is working - but the time is not being updated, and I don't really know why - I am using Calendar.
Any ideas? Bj...
b[sup]2[/sup] - benbiddington@surf4nix.com
 
I had just needed to shorten the scope of the object - I had it initialized in init(), so i moved it to run(). it needs to be recreated in order to get the new values.
b[sup]2[/sup] - benbiddington@surf4nix.com
 
Makes sense to me. Remember the init is only executed the first time the applet class is loaded into memory.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top