Here you can find the source of waitSeconds(int seconds)
public static void waitSeconds(int seconds)
//package com.java2s; //License from project: Open Source License public class Main { public static void waitSeconds(int seconds) { waitSeconds((double) seconds); }//from w w w.j ava 2 s . c o m public static void waitSeconds(double seconds) { waitMillis(Math.round(seconds * 1000)); } public static void waitMillis(long millis) { try { Thread.sleep(millis); } catch (Exception e) { } } }