This interface defines the methods necessary for MenuContainer types such as the Menu, Frame, and MenuBar objects. Unless you implement new menu-like components, you never need to use it.
public abstract interface MenuContainer { // Public Instance Methods public abstract Font getFont(); public abstract boolean postEvent(Event evt); public abstract void remove(MenuComponent comp); }
Component, Frame, Menu, MenuBar
MenuComponent.getParent()