Java tutorial
//package com.java2s; public class Main { public static final int SECONDS = 1000; public static void sleepSeconds(int i) { try { Thread.sleep(i * SECONDS); } catch (InterruptedException ignore) { ignore.printStackTrace(); } } public static void sleep(int i) { try { Thread.sleep(i); } catch (InterruptedException ignore) { ignore.printStackTrace(); } } }