File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Menu hosting

 
Doit
Ranch Hand
Posts: 169
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still waiting...Please answer
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic