public void setStatusComponent(JComponent statusComponent) {
    JComponent old = getStatusComponent();
    this.statusComponent = statusComponent;
    if (statusComponent != null) {
      add(statusComponent, STATUS_COMPONENT);
    }
    else if (old != null) {
      remove(old);
    }
    firePropertyChange("statusComponent", old, statusComponent);

    revalidate();
    repaint();
  }
public void setStatusComponent(JComponent statusComponent)