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

📄 pokermachine.java

📁 几个不错的手机程序例子
💻 JAVA
字号:
/*
 * PokerMachine.java
 *
 * Copyright 2001 SkyArts. All Rights Reserved.
 */
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

/**
 * PokerMachine的原来类-MIDlet类 
 *
 * @author  Hideki Yonekawa
 * @version 1.0
 */
public class PokerMachine extends MIDlet {
	/** 构造函数 */
	public PokerMachine() {
		Display.getDisplay(this).setCurrent(new GameCanvas(this));
	}

	/** MIDlet开始时所调用 的方法 */
	protected void startApp() throws MIDletStateChangeException {}

	/** MIDlet暂停时所调用 的方法 */
	protected void pauseApp() {}

	/** MIDlet结束时所调用 的方法 */
	protected void destroyApp(boolean unconditional)
								throws MIDletStateChangeException {}

	/** 结束MIDlet的方法 */
	void doExit() {
		try {
			destroyApp(false);
			notifyDestroyed();
		}catch(MIDletStateChangeException e) {}
	}
}

⌨️ 快捷键说明

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