分析MIDP的高级事件处理机制[3]

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

本文简介:

    private void init()
    {
        displayItem = new StringItem("you input", null);
        this.append(displayItem);
    }
   
    public void setInput(String input)
    {
        displayItem.setText(input);
    }
  
    public void commandAction(Command arg0, Displayable arg1)
    {
        if(arg0 == backCommand)
        {
            midlet.getDisplay().setCurrent(backUI);
        }

    }

本文关键:分析MIDP的高级事件处理机制
  相关方案
Google
 

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

go top