📄 gamemain.java
字号:
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
/*====================================*/
/* MIDlet */
/* 程序编写:励晓维 */
/* 2004-11-27 */
/*====================================*/
public class gameMain extends MIDlet
{
Display display;
gameDraws gc; //创建GameDraws的对象
protected void startApp() throws MIDletStateChangeException
{
display=Display.getDisplay(this);
gc=new gameDraws(this,display);
display.setCurrent(gc);
}
protected void pauseApp()
{
}
protected void destroyApp(boolean arg0)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -