import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class Tervitus extends MIDlet{ public Tervitus(){ Alert a=new Alert("Tervitamine", "Tere", null, AlertType.CONFIRMATION); a.setTimeout(Alert.FOREVER); Display.getDisplay(this).setCurrent(a); } protected void startApp() throws MIDletStateChangeException{} protected void pauseApp(){} protected void destroyApp( boolean p1 ) throws MIDletStateChangeException{} }