Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

removeCommand not working with IBM J9 on Pocket PC

 
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?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!