📄 nwc_midlet.java
字号:
/*
* NWC_MIDlet.java
*
* Created on 2006年9月4日, 下午9:06
*/
package com.j2me.networld.connection;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
*
* @author DONGHOME
* @version
*/
public class NWC_MIDlet extends MIDlet
{
private static NWC_MIDlet midlet = null;
private static Display display = null;
private static boolean flag = false;
public NWC_MIDlet()
{
this.midlet = this;
}
public void startApp()
{
if(!flag)
{
display = Display.getDisplay(this);
display.setCurrent(new MainUI(this));
}
}
public void pauseApp()
{}
public void destroyApp(boolean unconditional)
{}
public void exitApp()
{
destroyApp(false);
notifyDestroyed();
}
public void setCurrent(Displayable displayable)
{
this.display.setCurrent(displayable);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -