| | |
countdown timer program
![]() |
•
•
Join Date: Sep 2008
Posts: 1,532
Reputation:
Solved Threads: 191
•
•
•
•
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 |
-xlint add android api applet application applications array automation bank bi binary blackberry bluetooth chat class clear client code codesnippet collections compile compiler component database development dice ebook eclipse equation error event formatingtextintooltipjava fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image infinite int invokingapacheantprogrammatically j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux main map method mobile myregfun mysql netbeans nonstatic notdisplaying openjavafx parameter pearl php problem program project qt repositories scanner screen scrollbar server set sms sorting spamblocker sql sqlserver storm string superclass swing system thread threads tree variablebinding windows xor






