📄 planemidlet.java
字号:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
* 【《孤胆雄鹰》MIDlet类(MIDP1.0)】
*/
public class PlaneMIDlet extends MIDlet {
static PlaneMIDlet quit;
static Display dis;
public PlaneMIDlet () {
quit = this;
dis = Display.getDisplay(this);
dis.setCurrent(new PlaneCanvas());
}
public static void quitApp() {
quit.destroyApp(true);
quit.notifyDestroyed();
quit = null;
}
protected void destroyApp(boolean b) {}
protected void pauseApp() {}
protected void startApp() {}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -