?? waitingform.java
字號:
/*
* WaitingForm.java
*
* Created on 2006年5月5日, 下午3:11
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package com.j2medev.chapter4;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Gauge;
/**
*
* @author ming
*/
public class WaitingForm extends Form {
private Gauge gauge = new Gauge("progress...",false,10,0);
/** Creates a new instance of WaitingForm */
public WaitingForm() {
super("reading data from yahoo!");
append(gauge);
}
public void update(){
gauge.setValue((gauge.getValue()+1)%gauge.getMaxValue());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -