Example usage for javax.swing.event AncestorListener interface-usage

List of usage examples for javax.swing.event AncestorListener interface-usage

Introduction

In this page you can find the example usage for javax.swing.event AncestorListener interface-usage.

Usage

From source file Main.java

class EventHandler implements AncestorListener, ComponentListener, HierarchyListener {

    @Override
    public void ancestorAdded(AncestorEvent event) {
        System.out.println("CardlayoutTest.EventHandler.ancestorAdded()");
    }