Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

adding help to the JMenuBar  RSS feed

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have JFame which has JMenu.I want to add a help menuitem to the JMenuBar.
the method setHelpMenu(JMenutitem)doesn't work fine.Help me to solve this problem.A piece of code will work.
Happy Middling with java.
Netharam:confused
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you cant do that in swing. at least not in the way u want to, using thhat method.
here is what i took from the API:
Sets the help menu that appears when the user selects the "help" option in the menu bar. This method is not yet implemented and will throw an exception.
as u see, this method is not yet implemented.
however, since this is taken from the brand "NEW" 1.4 i dont think they will implement it any time soon.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!