| | |
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
affinetransform android api append apple applet application arguments array arrays automation bi binary bluetooth businessintelligence busy_handler(null) chat class classes client code component database draw eclipse encryption equation error event exception file fractal game givemetehcodez graphics gui helpwithhomework html ide image input integer intersect j2me java javaexcel javaprojects jmf jni jpanel julia linked linux list loop main map method methods mobile netbeans newbie number open-source oracle oriented panel print problem program programming project qt recursion reference replaysolutions repositories return robot scanner screen scrollbar se server set singleton size sms socket sort sql string swing test threads time tree utility windows xor






