public static @NotNull Couple<Integer> getVisibleRows(@NotNull JTable table) {
    Rectangle visibleRect = table.getVisibleRect();
    return Couple.of(getLeadingRow(table, visibleRect), getTrailingRow(table, visibleRect));
  }
public static @NotNull Couple<Integer> getVisibleRows(@NotNull JTable table)