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

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

本文简介:

            1);

    public ContentForm(String arg0, String arg1, int arg2, int arg3,

            MailClient midlet)

    {

        super(arg0, arg1, arg2, arg3);

        this.midlet = midlet;

        if (first)

        {

            first = false;

            init();

        }

    }

    public void init()

    {

        this.addCommand(sendCommand);

        this.setCommandListener(this);

    }

    public void commandAction(Command cmd, Displayable disp)

    {

        if (cmd == sendCommand)

        {

            String content = this.getString();

            midlet.getMessage().setContent(content);

            System.out.println(midlet.getMessage());

            try

            {

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

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

go top