I'm a bit confused and hoping someone can help me. I need my program to grab the current time from the OS and then compare that to the time I gave it. The problem I'm having is that it's only grabbing the time once. For example, if I start the program at 1410 then the time will ALWAYS be 1410 and not 1530 or whatever time it is. How do I get
Java to continually get a NEW time when it's needed?
Thanks a bunches, I'd rather not have to rewrite this with a timer function, since I don't understand those.
Jax
PS--This worked fine on the Macintosh I orginally wrote it on.