@Override
  public void updateCustomComponent(@NotNull JComponent component,
                                    @NotNull Presentation presentation) {
    if (component instanceof JCheckBox checkBox) {
      updateCustomComponent(checkBox, presentation);
    }
  }
@Override
  public void updateCustomComponent(@NotNull JComponent component,
                                    @NotNull Presentation presentation)