netintrudermidlet.java

来自「斜45度游戏《NetIntruder》」· Java 代码 · 共 54 行

JAVA
54
字号
import javax.microedition.lcdui.Display;import javax.microedition.lcdui.Displayable;import javax.microedition.midlet.MIDlet;import javax.microedition.midlet.MIDletStateChangeException;/** * Net Intruder: midlet class *  * This software is released under GNU LGPL license. View license.txt for more details. *  * @version 0.9 * @author Massimo Maria Avvisati (http://www.mondonerd.com) *  */public class netIntruderMidlet extends MIDlet {        netIntruderCanvas canvas = null;        /**     * Main constructor     *     */    public netIntruderMidlet() {        super();        Displayable current = Display.getDisplay(this).getCurrent();        if (current == null) {            if (canvas == null) {                canvas = new netIntruderCanvas(this);            }            Display.getDisplay(this).setCurrent(canvas);        }            }    protected void startApp() throws MIDletStateChangeException {        // TODO Auto-generated method stub    }    protected void pauseApp() {        // TODO Auto-generated method stub    }    protected void destroyApp(boolean arg0) throws MIDletStateChangeException {        // TODO Auto-generated method stub    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?