📄 xcalc.java
字号:
/* * XCalc.java * * Created on 2007-10-19, 10:28:31 * * To change this template, choose Tools | Templates * and open the template in the editor. */package xcalc;import javax.microedition.midlet.*;import javax.microedition.lcdui.*;/** * @author Xiaobo Lee */public class XCalc extends MIDlet { public static Display display; public static Renderer renderer; public static Options options; public static History history; public XCalc() { super(); display = Display.getDisplay(this); renderer = new Renderer(this); options = new Options(); history = new History(); options.loadPreferences(); history.loadHistory(); } public Display getDisplay(){ return display; } protected void startApp() throws MIDletStateChangeException { display.setCurrent(renderer); } protected void pauseApp() { } protected void destroyApp(boolean arg0) throws MIDletStateChangeException { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -