@Nullable
  @Override
  public JComponent getDetailsComponent() {
    JComponent content = myMainPanel.getContent();
    return content == myMessagePanel ? null : content;
  }
@Nullable
  @Override
  public JComponent getDetailsComponent()