Help coderanch get a
new server
by contributing to the fundraiser
  • 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

What do u say?

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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."
- Thanks
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes and no.....
the restrictions to add menus donot come from the abv
stmt of yours alone....there is more to it.
there are two types of menus - pull-down and pop-up
menus. Pull-down menus are accessed via a menubar.
Menu-bars can be attached only to frames. Hence
pull-down menus exist only in frames.
The other type of menus, pop-up, can be added
to anything else which implements Menucontainer interface.
While I may not be complete, plese refer to the JLS and
read more deeply.
Also the exam (as I know) tests only the pull-down menus.
Regds.
- satya

[This message has been edited by Madhav Lakkapragada (edited August 26, 2000).]
 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Madhav for all your answers.
 
reply
    Bookmark Topic Watch Topic
  • New Topic