Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Menu hosting

 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Adding menus to an aplication requires a class that implements the MenuContainer interface.
The classes in the java.awt package that implement MenuContainer are Component, Frame, Menu,
and MenuBar, so practically anything can host a menu."

Does that mean a Menu can be hosted by anything?? I think it can be hosted by only Menubar. Am i right??
- Thanks
 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still waiting...Please answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic