【发布时间】:2013-06-18 13:43:18
【问题描述】:
我想使用 LWUIT 制作一个基本的移动应用程序,但在使用表单时遇到困难,我不知道如何关闭表单以转到我打开它的表单。
所以基本上无法在表单之间切换,所以我需要一些帮助,还有比使用表单在屏幕上显示组件更好的替代方法
任何帮助将不胜感激
Form a = new Form ();
FlowLayout exampleLayout = new FlowLayout();
final Button button = new Button("1");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
Form b = new Form ();
//how to get back form this form b to form a
}
});
我不知道如何从表单 b 回到表单 a 表单没有 close 方法或 dispose() 方法
【问题讨论】: