aspose file tools*
The moose likes Mock Exam Errata and the fly likes javaprepare: can Menu class be added to a Frame component?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "javaprepare: can Menu class be added to a Frame component??" Watch "javaprepare: can Menu class be added to a Frame component??" New topic
Author

javaprepare: can Menu class be added to a Frame component??

Jenny Hua
Greenhorn

Joined: Jul 24, 2001
Posts: 8
in javaprepare mock test: http://www.javaprepare.com/quests/awt_q.html
question#5: Which classes can be added to a Frame component.
The answer doesn't include Menu, why ? as Frame definition, Frames have title bars, icons, and menus.
Thank you in advance!
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Jenny,
You can add a MenuBar to a Frame or a pop-up menu but not a Menu.
Hope that helps.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javaprepare: can Menu class be added to a Frame component??