| | |
countdown timer program
![]() |
•
•
Join Date: Sep 2008
Posts: 1,566
Reputation:
Solved Threads: 196
•
•
•
•
Just use google. Type System.out.println() java, or you could also try Java IO. Also, an easy way to 'count' would be
// Read in the amount of time you want to wait in seconds, call it "time"
Thread.getThread().sleep(time * 1000); //waits for 1 second if time = 1.
//Print out the time you waited.
•
•
•
•
Sir,
I am new at java ,so I dont know where to look for it.
I searched my notes ,but didn't find anything.
Please tell me where to find it.
Thanks
![]() |
Similar Threads
- Countdown Timer with minutes seconds and milliseconds! (Visual Basic 4 / 5 / 6)
- countdown timer (C)
- Tkinter Countdown Timer problems. (Python)
- MFC Countdown Timer (C)
- Timer Countdown (C++)
- Countdown (Java)
Other Threads in the Java Forum
- Previous Thread: Exception in thread "main" java.lang.StackOverflowError
- Next Thread: Merge sort problem.
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary blackberry block bluetooth character chat class client code component consumer csv database desktop developmenthelp eclipse error fractal ftp game givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list loops mac map method methods mobile netbeans newbie number objects online oriented panel printf problem program programming project projects properties recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing test textfields threads time title tree tutorial-sample ubuntu update windows working






