⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bnb_midlet.java

📁 手机版本的泡泡堂 用j2me写的 大家可以参考下
💻 JAVA
字号:
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

public final class BnB_MIDlet extends MIDlet
{
    public static MIDlet midlet;
    public BnB_Game game;
    public Display display;

    public BnB_MIDlet()
    {
        game = new BnB_Game();
        midlet = this;
        display = Display.getDisplay(this);
    }

    protected final void startApp()
    {
        if (game != null)
        {
            display.setCurrent(game);
        }
    }

    protected final void pauseApp()
    {
        notifyPaused();
    }

    protected final void destroyApp(boolean arg0)
    {
        if (Display.getDisplay(this) != null)
        {
            Display.getDisplay(this).setCurrent(null);
        }
        notifyDestroyed();
    }
}

⌨️ 快捷键说明

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