| | |
countdown timer program
![]() |
•
•
Join Date: Sep 2008
Posts: 1,580
Reputation:
Solved Threads: 199
•
•
•
•
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 |
add android api applet application applications array arrays automation bank binary bluetooth chat class clear client code codesnippet collections component converter database development dice digit eclipse equation error event formatingtextintooltipjava fractal functiontesting game givemetehcodez graphics gui health html hyper ide idea image infinite input int integer j2me java javame javaprojects jni jpanel julia linux list loop looping main map method methods mobile myregfun mysql netbeans newbie nonstatic openjavafx parameter pearl php print problem program programming project recursion repositories scanner scrollbar server set size sms sort sorting spamblocker sql sqlserver state storm string superclass swing swt text-file thread threads tree windows






