?? thlamid.java
字號:
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class ThLaMID extends MIDlet {
Display dis; //聲明Display對象
public boolean tf; //聲明tf boolean對象
ThLaCV tv; //聲明ThLaCV對象
public ThLaMID() {
super();
dis=Display.getDisplay(this); //取得顯示器
tf=true; //tf初始化
tv=new ThLaCV(this); //new出ThLaCV對象
// TODO Auto-generated constructor stub
}
protected void startApp() throws MIDletStateChangeException {
// TODO Auto-generated method stub
if(tf==true)
{
tf=false;
dis.setCurrent(tv); //取得顯示對象
}
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -