aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes MenuContainer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "MenuContainer" Watch "MenuContainer" New topic
Author

MenuContainer

James Du
Ranch Hand

Joined: Mar 23, 2001
Posts: 186
in API we could find class Component implements interface MenuContainer
My puzzles are
1. why class Frame still declared implements MenuContainer explicitly? isn't it true that a subclass automatically implements all the interfaces that implemented by its superclass?
2. why class Component implements MenuContainer? since only a few special subclass can actually hold a menu component? to be the worst, i find there's only one method "remove" in the MenuContainer is related to the Menu component, and Component provides no real implementation!
Any comments are greatly welcomed
James
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MenuContainer
 
Similar Threads
implementing interface question
Sarga Qns
Menu?
Menu
Menu hosting