I am facing a strange issue while trying to add a component to the menu bar. I am able to see the component getting added during tracing using the ide, but it is not getting reflected on the screen.The following is the code i am using to implement the functionality.

I suggest you go through the source code of the menu bar. You need to process commands and implement the softkey/menu logic, instead you are removing components that LWUIT relies on. This will obviously break badly.

What you need to do is derive the menu bar class and override methods within it. You replace the menu bar class via the LookAndFeel class.