public static void ensureIndexIsVisible(@NotNull JTable table, int index, int moveDirection) {
    _ensureIndexIsVisible(table, index, moveDirection, table.getRowCount());
  }
public static void ensureIndexIsVisible(@NotNull JTable table, int index, int moveDirection)