?? alertwithindicatorandthreadmidletthread.java
字號:
import javax.microedition.lcdui.*;
class AlertWithIndicatorAndThreadMIDletThread extends Thread
{
Alert al ;
public AlertWithIndicatorAndThreadMIDletThread(Alert al)
{
this.al = al ;
}
public void run()
{
Gauge indicator = al.getIndicator() ;
for(int i=0 ; i <11 ; i++)
{
indicator.setValue(i);
try
{
Thread.sleep(500);
}catch(Exception e){}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -