public Navigation execute(Displayable d) throws Exception {
controler.getMidlet().notifyDestroyed();
return null;
}
});
view.addCommand(new NavigationCommand(new Navigation("say-hello", null),
"Slow load", Command.SCREEN, 2));
view.addCommand(new ActionCommand("Slow action", Command.SCREEN, 3){
public Navigation execute(Displayable d) throws Exception {
String name = view.getName();
controler.progressListner.setMaxValue(name.length());