I use this in the constructor of a MainScreen
Code:
_singleton=this;
_timer=new Timer();
_timer.schedule(new TimerTask(){
public void run(){
synchronized(UiApplication.getUiApplication().getEventLock()){
UiApplication.getUiApplication().popScreen(_singleton);
}
}
},60000); that makes the window close 1 minute after