J2ME中文教程 3 MIDP高级UI 的使用[5]

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

本文简介:

                                 imageArray);

        exclusiveList.addCommand(CMD_BACK);

        exclusiveList.addCommand(CMD_EXIT);

        exclusiveList.setCommandListener(this);

        //ExlcusiveList的声明

        implicitList = new List("Implicit", Choice.IMPLICIT, stringArray,

                                imageArray);

        implicitList.addCommand(CMD_BACK);

        implicitList.addCommand(CMD_EXIT);

        implicitList.setCommandListener(this);

        //ImplicitList的声明

        multipleList = new List("Multiple", Choice.MULTIPLE, stringArray,

                                imageArray);

        multipleList.addCommand(CMD_BACK);

        multipleList.addCommand(CMD_EXIT);

        multipleList.setCommandListener(this);

        //MutipleList的声明

        firstTime = true;

    }

 

    protected void startApp() {

        if(firstTime)

            Image[] imageArray = null;

   

            try

           {

本文关键:J2ME中文教程 3 MIDP高级UI 的使用
  相关方案
Google
 

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

go top