I saw a statement in R& H saying that MenuBArs can only be added to Frames.
But in Bill Brogdens' book, the following question.
Which of the following AWT components can have a menu, eithere as a menubar or pop-menu attached to it? Check all correct answers.
a)Frame
b)Window
c)
Applet d)Panel
All are correct because componet class implements MenuContainer interface and all of these classes have Component in their ancestry?
Per Tony Alecia's Hierarchy chart, all menus, menuitems etc inherit from MenuComponent which is extended from Object. Where is this MenuContainer interface coming from?
Thanks in advance,