📄 flowcontrol.java
字号:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class FlowControl extends MIDlet
{
boolean init = true ;
public FlowControl()
{
Navigator.display = Display.getDisplay(this) ;
Navigator.midlet = this ;
}
public void startApp()
{
Navigator.current = Navigator.MAIN_SCREEN ;
Navigator.show(null) ;
if(init)
{
Alert al = new Alert("片头画面") ;
al.setType(AlertType.CONFIRMATION) ;
al.setTimeout(5000) ;
Navigator.display.setCurrent(al) ;
init = false ;
}
}
public void pauseApp()
{
}
public void destroyApp(boolean con)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -