View Single Post
Join Date: Sep 2008
Posts: 1,531
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 190
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: countdown timer program

 
0
  #5
Nov 22nd, 2008
Originally Posted by BestJewSinceJC View Post
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.
Edited.
Reply With Quote