private static void repaintRow(@NotNull JTable table, int row) {
    Rectangle bounds = row < 0 ? null : table.getCellRect(row, 0, false);
    if (bounds != null) table.repaint(0, bounds.y, table.getWidth(), bounds.height);
  }
private static void repaintRow(@NotNull JTable table, int row)