Example usage for javax.swing JInternalFrame IS_ICON_PROPERTY

List of usage examples for javax.swing JInternalFrame IS_ICON_PROPERTY

Introduction

In this page you can find the example usage for javax.swing JInternalFrame IS_ICON_PROPERTY.

Prototype

String IS_ICON_PROPERTY

To view the source code for javax.swing JInternalFrame IS_ICON_PROPERTY.

Click Source Link

Document

Constrained property name indicating that the internal frame is iconified.

Usage

From source file:InternalFramePropertyChangeHandler.java

public void propertyChange(PropertyChangeEvent propertyChangeEvent) {
    String propertyName = propertyChangeEvent.getPropertyName();
    System.out.println(propertyName);
    if (propertyName.equals(JInternalFrame.IS_ICON_PROPERTY)) {
        System.out.println("Icon property changed. React.");
    }/*from ww  w  . jav  a  2 s  . com*/
}

From source file:VetoableChangeListenerDemo.java

public void vetoableChange(PropertyChangeEvent ev) throws PropertyVetoException {
    String name = ev.getPropertyName();
    if (name.equals(JInternalFrame.IS_ICON_PROPERTY) && (ev.getNewValue() == Boolean.TRUE)) {
        System.out.println("JInternalFrame.IS_ICON_PROPERTY");
    }//from  www .  j  av  a 2 s  .c o m
}

From source file:MainClass.java

public void propertyChange(PropertyChangeEvent propertyChangeEvent) {
    String propertyName = propertyChangeEvent.getPropertyName();
    if (propertyName.equals(JInternalFrame.IS_ICON_PROPERTY)) {
        System.out.println("Icon property changed. React.");
    }//from w  w w. j  ava 2s .c o  m
}