| | |
countdown timer program
![]() |
•
•
Join Date: Sep 2008
Posts: 1,557
Reputation:
Solved Threads: 195
•
•
•
•
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 arrays automation bank bi binary blackberry bluetooth chat class clear client code compile compiler component database development digit eclipse equation error event formatingtextintooltipjava fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image infinite int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list main map method methods mobile myregfun netbeans nonstatic notdisplaying openjavafx pearl problem program project qt recursion repositories scanner screen scrollbar server set sms sort sorting spamblocker sql sqlserver state storm string superclass swing system thread threads tree variablebinding windows xor






