Thread Class, slepp Method:

try {Thread.sleep(1000);}
catch (InterruptedException e)
{   
// ......
}

如果不需时间限制,可用类似 getchar() 通过键盘控制。

TOP