@Override
	public Dimension getPreferredSize() {
		FormatManager formatManager = model.getFormatManager();
		int height = formatManager.getMaxRowCount() * rowHeight + 1;
		return new Dimension(formatManager.getMaxWidth(), height);
	}
Returns the index of the field on the given row containing the give x position.
@param row the row on which to find the index of the field containing the x coordinate.
@param x the horizontal coordinate (in pixels) 
@return the column
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FieldHeaderComp.java