Display.getDisplay(this).setCurrent(null);
// Don't request the foreground on the first startApp call. if (!firstStart) { Alert a = new Alert("MIDlet 1"); a.setTimeout(Alert.FOREVER); Display.getDisplay(this).setCurrent(a); } firstStart = false;