Example usage for javax.swing.event InternalFrameAdapter subclass-usage

List of usage examples for javax.swing.event InternalFrameAdapter subclass-usage

Introduction

In this page you can find the example usage for javax.swing.event InternalFrameAdapter subclass-usage.

Usage

From source file InternalFrameIconifyListener.java

class InternalFrameIconifyListener extends InternalFrameAdapter {
    public void internalFrameIconified(InternalFrameEvent internalFrameEvent) {
        JInternalFrame source = (JInternalFrame) internalFrameEvent.getSource();
        System.out.println("Iconified: " + source.getTitle());
    }

From source file MainClass.java

class InternalFrameIconifyListener extends InternalFrameAdapter {
    public void internalFrameIconified(InternalFrameEvent internalFrameEvent) {
        JInternalFrame source = (JInternalFrame) internalFrameEvent.getSource();
        System.out.println("Iconified: " + source.getTitle());
    }

From source file DesktopSample.java

class InternalFrameIconifyListener extends InternalFrameAdapter {
    public void internalFrameIconified(InternalFrameEvent internalFrameEvent) {
        JInternalFrame source = (JInternalFrame) internalFrameEvent.getSource();
        System.out.println("Iconified: " + source.getTitle());
    }