void setBytesPerLine(int bytesPerLine) {

		if (this.bytesPerLine != bytesPerLine) {
			this.bytesPerLine = bytesPerLine;
			updateIndexMap();
		}
		// reset view column widths to preferred width for new bytesPerline
		indexedView.resetViewWidthToDefaults();

		// force everything to get validated, or else the
		// header columns do not get repainted properly...
		invalidate();
		validate();
		repaint();
	}
Force the current view to be refreshed.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerPanel.java