Here you can find the source of sleep(int seconds)
private static void sleep(int seconds)
//package com.java2s; public class Main { private static void sleep(int seconds) { try {// w w w.j av a2s .c o m Thread.sleep(seconds * 1000); } catch (InterruptedException e) { } } }