📄 thlamid.java
字号:
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class ThLaMID extends MIDlet {
Display dis; //声明Display对象
public boolean tf; //声明tf boolean对象
ThLaCV tv; //声明ThLaCV对象
public ThLaMID() {
super();
dis=Display.getDisplay(this); //取得显示器
tf=true; //tf初始化
tv=new ThLaCV(this); //new出ThLaCV对象
// TODO Auto-generated constructor stub
}
protected void startApp() throws MIDletStateChangeException {
// TODO Auto-generated method stub
if(tf==true)
{
tf=false;
dis.setCurrent(tv); //取得显示对象
}
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -