public void setRequired(boolean required) {
		this.required = required;
	}
Sets whether the field is required or not. If so, it will be rendered
differently to indicate that to the user.

@param required true if required, false otherwise
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/HintTextField.java