An event reported to a child component that originated from an
ancestor in the component hierarchy.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is appropriate
for short term storage or RMI between applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
AncestorEvent(JComponent source,
int id,
Container ancestor,
Container ancestorParent)
Constructs an AncestorEvent object to identify a change
in an ancestor-component's display-status.
Returns the parent of the ancestor the event actually occured on.
This is most interesting in an ANCESTOR_REMOVED event, as
the ancestor may no longer be in the component hierarchy.
Submit a bug or feature Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.