Java tutorial
//package com.java2s; public class Main { public static void sleep(long milliseconds) { try { Thread.sleep(milliseconds); } catch (InterruptedException e) { e.printStackTrace(); } } }