Here you can find the source of waitXSeconds(int s)
public static void waitXSeconds(int s)
//package com.java2s; //License from project: Apache License public class Main { public static void waitXSeconds(int s) { try {//from www . j av a 2s . c o m Thread.sleep(s * 1000); } catch (Exception e) { } } }