I've written a LWUIT app but every few times I run it in the builtin Netbeans J2ME emulator or the Nokia Series 40 emulator, the command buttons for the main page do not show up. If I hit the softkey for the second command to go the the help screen, then go back, the commands are visible. I setup my commands exactly according to the tutorial, with these few lines of code:
Command exitCommand = new Command("Exit");
f.addCommand(exitCommand);
Command settingsCommand = new Command("Help/About");
f.addCommand(settingsCommand);
f.addCommandListener(this);
Is there some sort of bug in LWUIT 1.5 that I should be aware of? Since it works most of the time and it's such a simple bit of code, I don't know what coding problem might cause it. It is interesting however that, as of yet, it hasn't happened on any page except for the main page which loads when the application is first run.