?? simplecustommenuwithbg.java
字號:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.util.*;
public class SimpleCustomMenuWithBG extends MIDlet implements CommandListener {
Display display;
Display pauseDisplay;
boolean isSplash = true;
MenuScreen menuScreen;
public SimpleCustomMenuWithBG() {
MenuScreen menuScreen = new MenuScreen();
display = Display.getDisplay(this);
display.setCurrent(menuScreen);
}
protected void startApp() throws MIDletStateChangeException {
}
protected void pauseApp() { }
protected void destroyApp (boolean flag) throws MIDletStateChangeException {}
public void commandAction (Command cmd, Displayable dis) {
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -