Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

removeCommand not working with IBM J9 on Pocket PC  RSS feed

Frank Eichfelder
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!