| Package | Description | 
|---|---|
| javax.swing.event | Provides for events fired by Swing components. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AncestorListener. ancestorAdded(AncestorEvent event)Called when the source or one of its ancestors is made visible
 either by setVisible(true) being called or by its being
 added to the component hierarchy. | 
| void | AncestorListener. ancestorMoved(AncestorEvent event)Called when either the source or one of its ancestors is moved. | 
| void | AncestorListener. ancestorRemoved(AncestorEvent event)Called when the source or one of its ancestors is made invisible
 either by setVisible(false) being called or by its being
 remove from the component hierarchy. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2013, Oracle and/or its affiliates.  All rights reserved.