?? pigmidlet.java
字號(hào):
package com.skybright.pig;import javax.microedition.lcdui.Display;import javax.microedition.midlet.MIDlet;import javax.microedition.midlet.MIDletStateChangeException;public class PigMiDlet extends MIDlet{ Duel duel; public static Display display; public PigMiDlet() { display = Display.getDisplay(this); } public void quit() { try { destroyApp(false); notifyDestroyed(); }catch (Exception exception) { } } protected void startApp() throws MIDletStateChangeException { duel = new Duel(this); Thread th = new Thread(duel); th.start(); } protected void pauseApp() { } protected void destroyApp(boolean p0) throws MIDletStateChangeException { display.setCurrent(null); }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -