protected @Nullable Border getBorder(boolean isSelected, boolean hasFocus) {
    if (hasFocus) {
      if (isSelected) {
        Border border = UIManager.getBorder("Table.focusSelectedCellHighlightBorder");
        if (border != null) return border;
      }
      return UIManager.getBorder("Table.focusCellHighlightBorder");
    }
    return UIManager.getBorder("Table.cellNoFocusBorder");
  }
protected @Nullable Border getBorder(boolean isSelected, boolean hasFocus)