public TaskBuilder setStatusTextAlignment(int alignment) {
		boolean isValid = CollectionUtils.isOneOf(alignment, LEADING, CENTER, TRAILING);
		SystemUtilities.assertTrue(isValid, "Illegal alignment argument: " + alignment);

		this.statusTextAlignment = alignment;
		return this;
	}
Sets the horizontal text alignment of messages shown in the task dialog.  The
default is {@link SwingConstants#CENTER}.  Valid values are {@link SwingConstants}
LEADING, CENTER and TRAILING.

@param alignment the alignment
@return this builder
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskBuilder.java