• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

MenuContainer

 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
What's gotten into you? Could it be this tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic