static void setSelected(@NotNull JComponent component, @Nullable Boolean selected) {
    component.putClientProperty(SELECTED_KEY, selected);
    component.repaint();
  }
static void setSelected(@NotNull JComponent component, @Nullable Boolean selected)