J2ME中文教程 7 开发无线网络应用程序[19]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

        message = new Message();

        display = Display.getDisplay(this);

        mainForm = new MainForm(this, "Simple Mail Client");

        contentForm = new ContentForm("Content", null, 150, TextField.ANY, this);

        display.setCurrent(mainForm);

    }

 

    protected void startApp() throws MIDletStateChangeException

    {

       

        initMIDlet();

    }

    protected void pauseApp()

    {

       

    }

    protected void destroyApp(boolean arg0) throws MIDletStateChangeException

    {

       

    }

}

class MailThread extends Thread

{

    private MailClient midlet;

    public MailThread(MailClient midlet)

    {

        this.midlet = midlet;

    }

public void run()

    {

本文关键:J2ME中文教程 7 开发无线网络应用程序
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top