@Override
    public void updateCustomComponent(@NotNull JComponent component, @NotNull Presentation presentation) {
      if (!(component instanceof LargeIconWithTextPanel panel)) return;
      panel.myIconButton.setIcon(presentation.getIcon());
      panel.myIconButton.setSelectedIcon(presentation.getSelectedIcon());
      //noinspection DialogTitleCapitalization
      panel.myLabel.setText(presentation.getText());
      panel.myIconButton.getAccessibleContext().setAccessibleName(presentation.getText());
      UIUtil.setEnabled(panel, presentation.isEnabled(), true);
    }
@Override
    public void updateCustomComponent(@NotNull JComponent component, @NotNull Presentation presentation)