import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class ?? extends MIDlet implements CommandListener { Display disp; Form f; public ??() { super(); // TODO Auto-generated constructor stub disp=Display.getDisplay(this); f=new Form("Form"); } protected void startApp() throws MIDletStateChangeException { // TODO Auto-generated method stub disp.setCurrent(); } protected void pauseApp() { // TODO Auto-generated method stub } protected void destroyApp(boolean arg0) throws MIDletStateChangeException { // TODO Auto-generated method stub } public void commandAction(Command arg0, Displayable arg1) { // TODO Auto-generated method stub } }