?? mymidlet.java
字號(hào):
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class MyMIDlet extends MIDlet {
Display d;
GameScreen gs;
public MyMIDlet(){
d=Display.getDisplay(this);
gs=new GameScreen();
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO 自動(dòng)生成方法存根
}
protected void pauseApp() {
// TODO 自動(dòng)生成方法存根
}
protected void startApp() throws MIDletStateChangeException {
d.setCurrent(gs);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -