i want to make a basic mobile app using LWUIT, but am having difficulties using forms,i don't know how to close a form to go to the form from which i opened it.
So basically having trouble switching between forms,so i need some help regarding that and also is there any better alternative present than using a form to display components on the screen
Any help would be much appreciated
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
}
});
i don't know how to get back from form b to form a there is no close method or dispose() method present for a Form