Constructs an AncestorEvent object to identify a change
in an ancestor-component's display-status.
Parameters:
-
source - the JComponent that originated the event
(typically
this
)
-
id - an int specifying {@link #ANCESTOR_ADDED},
{@link #ANCESTOR_REMOVED} or {@link #ANCESTOR_MOVED}
-
ancestor - a Container object specifying the ancestor-component
whose display-status changed
-
ancestorParent - a Container object specifying the ancestor's parent