1. /*
  2. * @(#)MenuContainer.java 1.16 04/05/18
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt;
  8. /**
  9. * The super class of all menu related containers.
  10. *
  11. * @version 1.16, 05/18/04
  12. * @author Arthur van Hoff
  13. */
  14. public interface MenuContainer {
  15. Font getFont();
  16. void remove(MenuComponent comp);
  17. /**
  18. * @deprecated As of JDK version 1.1
  19. * replaced by dispatchEvent(AWTEvent).
  20. */
  21. @Deprecated
  22. boolean postEvent(Event evt);
  23. }