Here you can find the source of pause(int ms)
Parameter | Description |
---|---|
ms | temps de pause en millisecondes |
static public void pause(int ms)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w ww.j a va 2 s . c o m * Pause du thread courant * @param ms temps de pause en millisecondes */ static public void pause(int ms) { try { Thread.currentThread().sleep(ms); } catch (Exception e) { } } }