public boolean isOnRightBorder(@NotNull MouseEvent e, int column) {
      return Math.abs(getCellRect(0, column, false).x +
                      getColumnModel().getColumn(column).getWidth() - e.getPoint().x) <= JBUIScale.scale(BORDER_THICKNESS);
    }
public boolean isOnRightBorder(@NotNull MouseEvent e, int column)