• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disable/enable menu in Midlet

 
Jack Davis
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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!
 
Billybob Marshall
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Larry Mathys
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic