Code example for PropertyChangeSupport

0
                  final String title,
                  final JComponent mainComponent,
                  final boolean minimized)
  { 
    this.minimized = minimized;
    this.propertyChangeSupport = new PropertyChangeSupport(this);
    this.iconBig = iconBig;
    this.iconSmall = iconSmall;
    this.title = title;
    this.mainComponent = mainComponent;
  } 
 
  public boolean isMinimized() 
  { 
    return minimized;
  } 
 
  public void setMinimized(final boolean minimized)
  { 
    final boolean oldMinimized = this.minimized;
    this.minimized = minimized;