This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Please correct me if i am wrong.. 1. Container can be added to container except windows(window,frame,dialog). 2. Menubar can only be added to Frames. 3. PopupMenu can be added to all Components. 4.PulldownMenu can be added to only Menubar or PulldownMenu. 5. MenuItem can have Menu,MenuItem Now some clarifications please.. Menu can conatin ?? 1.Menu 2.MenuSeperator 3. MenuItem 4.CheckboxMenuItem 5.Menubar Menubar can contain? 1.Menu 2. Menubar 3.MenuItem
Hi Doit, I don't think Menu and Menubar can contain other Menubar. There are no methods that can add a Menubar to a Menu or Menubar in JDK1.3 API Doc. If you say Menubar can contain MenuItems because Menubar can cantain menus and MenuItems can be added to menus, I'd agree with you. So Menubar can contain 1.Menu 2.MenuSeperator 3. MenuItem 4.CheckboxMenuItemMenu 5.MenuShortcut Also I don't think MenuItem can have Menu and MenuItem, because the MenuItem class definse a menu item that has a textual label, we cannot add a Menu or MenuItem object to a MenuItem object, but we do can add a Menu or MenuItem object to a Menu object. Just my opinon! Erin
Joined: Aug 03, 2000
Can u guys please have a look at this also.... - Thanks