import java.util.*; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class JaneseMang extends MIDlet{ public static JaneseMang instance; public static Stack ajalugu=new Stack(); public JaneseMang(){ instance=this; } public static void kuvaEkraan(Displayable disp){ Display.getDisplay(instance).setCurrent(disp); } protected void startApp() throws MIDletStateChangeException{ kuvaEkraan(new M2ng()); } protected void pauseApp(){} protected void destroyApp(boolean kohustus) throws MIDletStateChangeException{} }