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.