xcalc.java

来自「利用开源的源码为一个朋友的V3手机手机写的科学计算器」· Java 代码 · 共 48 行

JAVA
48
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?