@Override
	protected void updateInfoMessage(boolean isValid) {
		// uses &nbsp to preserve the label's height
		String status = formatStatus(isValid ? "&nbsp;" : errorMessage, true);
		infoLabel.setText(status);
	}
Constructor.

@param constraint String-type constraint for which this component is an editor.
@param errorMessage the message to display if the textField is blank.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/StringConstraintEditor.java