问一个while(true)的问题
public void run(){
do{
fireActionPerformed();
try{
Thread.sleep(delay);
}
catch(InterruptedException interruptedexception){
System.out.println("WARMING: Ticker thread interrupted.");
}
}while(true);
}
这的while(true)循环没有内容,是直接跳过吗?有什么用呢?