| | |
Java Code for getting Clock to show time
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
•
•
Please write java code for me.
Are you sure you have gone through the rules even once ???
Here some of them quoted specially for you :
•
•
•
•
Also, to keep DaniWeb a student-friendly place to learn, don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well.
Last edited by stephen84s; Feb 21st, 2009 at 3:42 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
First of all in java is very simple.
Classes to use: Date, SimpleDateFormat, Thread.
And no we will not write the code. As instructed to other forum you posted (http://www.daniweb.com/forums/thread176644.html), first try it yourself and we will see what we can do.
Also if you want this done on a web page, try a different forum
Classes to use: Date, SimpleDateFormat, Thread.
And no we will not write the code. As instructed to other forum you posted (http://www.daniweb.com/forums/thread176644.html), first try it yourself and we will see what we can do.
Also if you want this done on a web page, try a different forum
Check out my New Bike at my Public Profile at the "About Me" tab
•
•
•
•
Hi,
I want to show running time in java
Please write java code for me.
thanks in advance.
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.
![]() |
Similar Threads
- Show time on page without refresh?? (PHP)
- help please (Java)
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- Firefox Compatibility help with script (JavaScript / DHTML / AJAX)
- Working with python for fun, Need some help (Python)
- Need help with a Bank/Customer program. (Java)
- Hijackthis report, I just don't know (Viruses, Spyware and other Nasties)
- cpu scheduler in java problem (Java)
- When a host says "included scripts" (Networking Hardware Configuration)
Other Threads in the Java Forum
- Previous Thread: Auto starting applications
- Next Thread: Copying text from Command Prompt
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jmf jni jpanel julia linux list loop loops mac map method methods mobile netbeans newbie number online oracle page parameter plazmic print problem program programming project recursion reporting rotatetext scanner screen sell server set size sms socket sort sourcelabs sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working






