Crea sito

import javax.microedition.lcdui.*;


import javax.microedition.midlet.*;


public class HelloWorld extends MIDlet {


Display display;


Form form;


public void destroyApp(boolean unconditional) {


notifyDestroyed();


}


public void pauseApp() {


}


public void startApp() {


display = Display.getDisplay(this);


form = new Form("WMLScript.it");


StringItem sItem = new StringItem(null,"Hello World!");


form.append(sItem);


display.setCurrent(form);


}


}