📄 client.java~1~
字号:
import javax.microedition.lcdui.*;
public class Client extends Canvas {
/** Constructor */
public Client() {
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
/**Component initialization*/
private void jbInit() throws Exception {
// add the Exit command
addCommand(new Command("Exit", Command.EXIT, 1));
}
/** Required paint implementation */
protected void paint(Graphics g) {
/** @todo Add paint codes */
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -