01-16-2009 04:32 PM
This is my first attempt at development for the BB storm, and I'm using JDE 4.7.
I started with an Hello World application I found and I modified it to add a simple button that says RED. When clicked I wanted the screen background to turn RED and change the button to say BLUE, when that is clicked it turns BLUE and changes the button back to RED again.
I implement this using a standard ButtonField listener (which I call bhandler in my code). The program kind of works, with the only weird effect on the simulator being that when I click on the button, the background color does change but a small menu appears. Anyone else seen this menu issue? I'm not expecting to see a menu and I haven't coded anything to ask for a menu to appear when I click this button.
Here is my source code. The handler is in bold text. Any answers as to why I see a menu would be most appreciated.....thanks.
Solved! Go to Solution.