removeCommand not working with IBM J9 on Pocket PC
posted 13 years ago
I wrote a midlet which contains the following two lines:
(The enclosing class is derived from Canvas, but the problem also happens with List, Form, etc.) When I run my program in the emulator from Sun, everything works fine. The first command is removed, and instead the second command is visible. But when I run the program on my iPaq with IBM J9, then the second command is added, but the first button is still visible and responds to user interaction. Is this a bug in IBM's implementation or is there any possibility to avoid this behaviour?