Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confusion

 
sadas dsdasd
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please anyone help me.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank u.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic