public void setFontMetrics(FontMetrics metrics) {
		this.metrics = metrics;
		heightAbove = metrics.getMaxAscent() + metrics.getLeading();
		heightBelow = metrics.getMaxDescent();
	}
Sets the font metrics
@param metrics the fontmetrics to use.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/SimpleTextField.java