static IntRange jTable_VisibleRows() { Rectangle vr = table.getVisibleRect(); int firstVisibleRow = table.rowAtPoint(vr.getLocation()); vr.translate(0, vr.height); ret intRange(firstVisibleRow, table.rowAtPoint(vr.getLocation())); }