public static @NotNull Color getBackground(@NotNull JTable table, boolean selected) {
    return selected ? getSelectionBackground(table) : getBackground(table);
  }
public static @NotNull Color getBackground(@NotNull JTable table, boolean selected)