📄 aboutscreen.java
字号:
package cn.com.javachen;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.StringItem;
public class AboutScreen extends Form implements CommandListener {
private HomeReceiveMidelt hrMidelt;
private Command backCommand = new Command("返回", Command.BACK, 1);
public AboutScreen(HomeReceiveMidelt hrMidelt) throws Exception {
super("版本信息");
this.hrMidelt = hrMidelt;
StringItem stringItem = new StringItem(null,
"家长信息系统\n版本号 1.0.0\n作者:陈勇 ");
append(stringItem);
addCommand(backCommand);
setCommandListener(this);
}
public void commandAction(Command c, Displayable d) {
if (c == backCommand) {
hrMidelt.mainMenuScreenShow(null);
return;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -