📄 getinfosform.java~1~
字号:
package GetInfo;
import javax.microedition.lcdui.*;
/**
* <p>Title: GetInfo</p>
*
* <p>Description: Get infomation</p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: NCU</p>
*
* @author Peng P.
* @version 1.0
*/
public class GetInfoForm extends Form implements CommandListener {
public GetInfoForm() {
super("手机详细信息");
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
setCommandListener(this);
addCommand(new Command("Exit", Command.EXIT, 1));
}
public void commandAction(Command command, Displayable displayable) {
if (command.getCommandType() == Command.EXIT) {
GetInfoMIDlet.quitApp();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -