Here you can find the source of sleepSilently(int millis)
public static void sleepSilently(int millis)
//package com.java2s; /*// w w w .java2s . c o m * Copyright (C) 2007 Free Software Foundation, Inc. * * Licensed under the GNU General Public License, Version 3.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/licenses/gpl.html * * Software distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ public class Main { public static void sleepSilently(int millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { } } }