public void setStatus(String status) {

		if (StringUtils.isEmpty(status)) {
			// Setting the text to null causes the label's preferred height to drop to 0, causing 
			// the UI to change size, depending on whether there was an existing status or not.  
			// Using the empty string prevents the UI layout from changing as the status changes.
			status = " ";
		}

		if (statusLabel != null) {
			statusLabel.setText(status);
			updateStatusToolTip();
		}
		else {
			provider.setStatusMessage(status);
		}
	}
Sets the currently displayed status message.

@param status non-html message string to be displayed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompositeEditorPanel.java