Skip to main content

awt.Frame setMenuBar does not appear to work?

1 reply [Last post]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Davy Preuveneers

On Saturday 26 July 2008, wrote:
> I am running a simple AWT app on Window Mobile 5 with phoneME Advanced
> Personal Profile b79 from With other JVMs
> like Mysaifu and IBM J9 my app displays a menubar correctly but not with
> phoneME. No errors or exceptions are reported.
> Is this a bug?
> Is there a workaround?
> [Message sent by forum member 'mobiforms' (mobiforms)]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

There is indeed a bug in the menubar component. The problem is that the menu
in the democlasses.jar test application appears to work fine on Windows
Mobile 2003. I.e. I get the File menu with the Graphics, Font, Event, ...

However, the same cvm binary and test application fail to work on Windows
Mobile 5 or higher. I get a dummy "MenuItem" entry instead of the ones above.
I am not quite sure what is causing this. I cannot test, because I have some
compilation error due a recent commit in the svn tree.


To unsubscribe, e-mail:
For additional commands, e-mail: