日期:2014-05-20 浏览次数:20778 次
package com.mhxy; import javax.microedition.lcdui.Display; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; import com.mhxy.changjing.Wellcome; public class AppStart extends MIDlet { private Display dis; private Wellcome well; public AppStart() { dis=Display.getDisplay(this);//显示系统 well=new Wellcome(dis); dis.setCurrent(well);//加载画布 } public void destroyApp(boolean arg0) throws MIDletStateChangeException { } protected void pauseApp() { } protected void startApp() throws MIDletStateChangeException { } }