📄 doemidlet.java
字号:
/*
* DoEMIDlet.java
*
* Created on 2006�?2�?4�?, 下午12:04
*/
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
*
* @author Administrator
*/
public class DoEMIDlet extends MIDlet {
private Cover cover = new Cover(Display.getDisplay(this), this);
/** Creates a new instance of DoEMIDlet */
public DoEMIDlet() {
}
// --- This section is auto-generated by NetBeans IDE. Do not modify or you may lose your changes.//<editor-fold id="MVDMethods" defaultstate="collapsed" desc="This section is auto-generated by NetBeans IDE.">//GEN-BEGIN:MVDMethods
/**
* This method initializes UI of the application.
*/
private void initialize() {
}
// --- This is the end of auto-generated section.//</editor-fold>//GEN-END:MVDMethods
public void startApp() {
cover.start();
System.gc();
while( true ) {
if( cover.getGameStatus() == Define.STATUS_EXIT ) {
//通知进入销毁状态
this.notifyDestroyed();
//使用垃圾收集器
System.gc();
//退出循环
break;
}
}
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -