Here you can find the source of sleepMillis(long millis)
public static void sleepMillis(long millis)
//package com.java2s; //License from project: Apache License public class Main { public static void sleepMillis(long millis) { try {/* w w w .ja va 2 s . c o m*/ Thread.sleep(millis); } catch (InterruptedException ignored) { } } }