📄 about.java~1~
字号:
package genius.game.mobile.bachelor;
import javax.microedition.lcdui.*;
/**
* <p>Title: GENIUS bachelor</p>
* <p>Description: GENIUS Mobile Game - Bachelor</p>
* <p>Copyright: Copyright (c) 2002 GENIUS Tech.</p>
* <p>Company: GENIUS Technology Software Development Union.</p>
* @author Rodger hu
* @version 1.01
*/
public class about extends Canvas implements CommandListener {
private Displayable parentDisplayable;
private Command cmdExit = new Command("退出", Command.EXIT, 1);
/**Construct the displayable*/
public about() {
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
/**Component initialization*/
private void jbInit() throws Exception {
// set up this Displayable to listen to command events
setCommandListener(this);
// add the Exit command
addCommand(new Command("Exit", Command.EXIT, 1));
}
/**Handle command events*/
public void commandAction(Command command, Displayable displayable) {
/** @todo Add command handling code */
}
/** Required paint implementation */
protected void paint(Graphics g) {
/** @todo Add paint codes */
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -