Hi,
I want to show running time in java
Please write java code for me.
thanks in advance.
'java code'
see? I just wrote it for you.
this is the kind of application you should be able to write within about ten minutes.
run a thread, let it constantly refresh a JLabel (if you're writing a Swing app) to tell the exact current time of the system clock
you could even do it using less classes than given to you by javaAddict, but I'd take his way, if you want it to be decent.
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
Offline 2,497 posts
since Jan 2007