【发布时间】:2013-02-27 20:48:28
【问题描述】:
我创建了一个对话框,其中有一些按钮。
在我想要完成对话框的那个按钮之一的操作上。
我不想在里面添加任何命令。
请帮忙。
这是我的代码。
Form form = (Form) createContainer("/theme", "MYDialog1");
Container container = (Container) findByName("Container", form);
button = new Button(new Command("Close"),i));
try
{
button.setUIID("LabelButton");
}
catch (Exception exception)
{
exception.printStackTrace();
}
button.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent evt)
{
??????
}
});
container.addComponent(button);
Dialog.show("", form, null);
【问题讨论】:
标签: lwuit codenameone