[RESOLVIDO]Meu primeiro HelloWorld

Olá pessoal,

o código abaixo é o que deveria ser o meu primeiro helloworld, mas no emulador ele não executa:


import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

/**
 * @author Erick
 */
public class HelloMidlet extends MIDlet implements CommandListener{

    Display display;
    Command exiCommand = new Command("Exit", Command.EXIT,1);
    Alert helloAlert;

    public void HelloMidLet(){
        helloAlert = new Alert("Hello MidLet", "Hello World!", null, AlertType.INFO);
        helloAlert.setTimeout(Alert.FOREVER);
        helloAlert.addCommand(exiCommand);
        helloAlert.setCommandListener(this);
    }

    public void startApp() {
        if (display == null){
            display = Display.getDisplay(this);
        }
        display.setCurrent(helloAlert);
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }

    public void commandAction(Command c, Displayable d){
        if (c == exiCommand){
            notifyDestroyed();
        }
    }
}

Sabem me dizer o que há de errado?

EDIT: Era a versão do Midlet…