J2ME- Using Form
Form is an import item to display on the screen. A form can contain other items such as text field, command button, list, image, etc.
To display a form, first you need to create its object.
Form form1=new Form("Form1");
This will create a form object named form1. The "Form1" text is the title of the form. You can see this text at the top left corner of the form window.
To display the form on the screen you need to assign the form name as the parameter of setCurrent method of the display object.