private void refreshRowModel() {
		// Update observable list model to generate the numbers of rows we want to show.
		double rowLength = config.getRowLength().getValue().doubleValue();
		int rowCount = (int) Math.max(1, Math.ceil(data.length / rowLength));
		if (rowCount != this.rows.size()) {
			List<Integer> zeroToRowMax = IntStream.range(0, rowCount)
					.boxed().collect(Collectors.toList());
			this.rows.setAll(zeroToRowMax);
			this.rowCount.setValue(rowCount);
		}
	}
Called when {@link #data} is updated and requires recomputing how many rows need to be displayed.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/hex/HexEditor.java