Here you can find the source of doSleep(long ms)
public static void doSleep(long ms)
//package com.java2s; public class Main { public static void doSleep(long ms) { try {/* w w w . ja va2 s. c o m*/ Thread.sleep(ms); } catch (InterruptedException ie) { } } }