@Override
  public void setCaption(@NotNull @NlsContexts.PopupTitle String title) {
    if (myCaption instanceof TitlePanel titlePanel) {
      titlePanel.setText(title);
    }
  }
@Override
  public void setCaption(@NotNull @NlsContexts.PopupTitle String title)