• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to personalize the menu bar?

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The default menu bar has two command button on the left and right side respectively, i see many games has beautiful menu bars, i read the spec, but cannot find some thing to do this?
 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no option in MIDP 2.0 for menu bars. The only way is to use the Command object and the various priority levels and types. This lets you position options in the two menus appropriately.

The games you might have seen could probably be non-J2ME or use custom packages.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sathya Srinivasan:
There is no option in MIDP 2.0 for menu bars. The only way is to use the Command object and the various priority levels and types. This lets you position options in the two menus appropriately.

The games you might have seen could probably be non-J2ME or use custom packages.



Sathya is right, HaoZhe. That game could be using Low Level to simulate the menu bar, if it is J2ME compatible. But if it is native application, that won't be a J2ME application...

Just my 2 cents...
 
rubbery bacon. rubbery tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic