Hi, I need to disable menu commands.
for(int i = 0; i < PForm.getSoftButtonCount(); i++)
But, I click softbutton menu is shown!?
In LWUIT 1.4 this is well work.
If it worked in 1.4 it was a fluke since it wasn't officially supported.
We now have a more elaborate MenuBar class that allows you to customize the menu in any way you like however I'm not sure if we provide a mechanism for disabling the menu button itself (you can just replace the MenuBar using the UIManager and implement this). You can now disable individual commands (which is probably the reason this broke) by toggling the command enabled/disabled state.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.