aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes What do u say? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "What do u say?" Watch "What do u say?" New topic
Author

What do u say?

Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
"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
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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).]


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
Thanks Madhav for all your answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What do u say?
 
Similar Threads
Question about Menu (MenuBar, PopupMenu)
Menu hosting
HOw to add menu to a button ?
Menu?
Menu