@Override
  public boolean hasHeaderComponent() {
    return ReadAction.compute(() -> {
      JComponent header = getHeaderComponent();
      return header != null && header != getPermanentHeaderComponent();
    });
  }
@Override
  public boolean hasHeaderComponent()