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

📄 fontsmidlet.java

📁 j2me 开发的手机赛车游戏实例
💻 JAVA
字号:
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class FontsMidlet extends MIDlet {
	private static MainCanvas m_MainCanvas=null;

	public FontsMidlet() {
		super();
		// TODO Auto-generated constructor stub
	}

	protected void startApp() throws MIDletStateChangeException {
		try{
			if(m_MainCanvas==null){
				m_MainCanvas=new MainCanvas();
			}
		}
		catch(Exception e){
			
		}
		Display.getDisplay(this).setCurrent(m_MainCanvas);
		// TODO Auto-generated method stub

	}

	protected void pauseApp() {
		m_MainCanvas.Stop();
		// TODO Auto-generated method stub

	}

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
		m_MainCanvas.Stop();
		
		// TODO Auto-generated method stub

	}

}

⌨️ 快捷键说明

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