📄 midlet.java
字号:
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import javax.microedition.lcdui.*;
public class Midlet extends MIDlet {
public Midlet() {
try{
Main main=null;
if(main==null)
{
main=new Main(this);
Display display=Display.getDisplay(this);
display.setCurrent(main);
}
////
// Main3 main3=null;
// if(main3==null)
// {
// main3=new Main3(this);
// Display display=Display.getDisplay(this);
// display.setCurrent(main3);
// }
// new test_list(this);
// new Mytextbox(this);
// new Myalert(this);
}catch(Exception e)
{e.printStackTrace();}
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void startApp() throws MIDletStateChangeException {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -