File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes confusion 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 "confusion" Watch "confusion" New topic
Author

confusion

sadas dsdasd
Greenhorn

Joined: Dec 14, 2002
Posts: 13
Hi all,
could u please give me the hierarchy of menu components i,e menu,menubar,menuitem etc?
q.Which containers can have a menu and which can have a menubar?
please help me.I am confused.
Thanks in advance.
sadas dsdasd
Greenhorn

Joined: Dec 14, 2002
Posts: 13
please anyone help me.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Santhi,
The hierarchy of Menu components is as follows
Menu Component->MenuItem->Menu->Popup meu
MenuBar also inherits from Menu Component and CheckboxMenuItem inherits from MenuItem.Currently only Frames support menubars,and only a MenuBar can have a pulldown menu.

sadas dsdasd
Greenhorn

Joined: Dec 14, 2002
Posts: 13
thank u.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: confusion