• 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

Disable/enable menu in Midlet

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I want to be able (pardon the pun) to disable or enable a menu list in a Midlet. Is there an option for this? Even if it means 'grey-fading" the elements on the list.
Thanks!
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Menu / MenuItem / JMenu / JMenuItem all have a setEnabled(boolean) method. Is it really that hard to see that in the API javadoc?
 
Jack Davis
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Billybob Marshall:
Menu / MenuItem / JMenu / JMenuItem all have a setEnabled(boolean) method. Is it really that hard to see that in the API javadoc?


Actually I'm using a List - which doesn't have enable/disable options.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Billybob Marshall:
Menu / MenuItem / JMenu / JMenuItem all have a setEnabled(boolean) method. Is it really that hard to see that in the API javadoc?


I'm looking at the J2ME MID Profile Version 2.0 and do not see references to the swing classes mentioned above. Am I missing something? You can use the swing package in a MIDlet?
Regards -
Larry
 
My cellmate was this 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