📄 pokermachine.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 + -