@Override
	public String getErrorMessage() {
		if (hasValidValue()) {
			return "";
		}
		return "Please enter a pattern to match (You may use * and ? globbing characters)";
	}
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