Here you can find the source of waitMillis(long millis)
public static void waitMillis(long millis)
//package com.java2s; //License from project: Open Source License public class Main { public static void waitMillis(long millis) { try {//from ww w . j a v a 2s . c o m Thread.sleep(millis); } catch (Exception e) { } } }