jcontrol.lang
Class ThreadExt

java.lang.Object
  extended by jcontrol.lang.ThreadExt

public class ThreadExt
extends Object

Thread extensions for JControl. For compatibility reasons not in Thread.


Constructor Summary
ThreadExt()
           
 
Method Summary
static void sleep(int millis)
          Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notifyAll, toString, wait
 

Constructor Detail

ThreadExt

public ThreadExt()
Method Detail

sleep

public static void sleep(int millis)
                  throws InterruptedException
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. The thread does not lose ownership of any monitors.

Parameters:
millis - the length of time to sleep in milliseconds.
Throws:
InterruptedException - if another thread has interrupted the current thread. The interrupted status of the current thread is cleared when this exception is thrown.
See Also:
Object.notifyAll()