private String buildText() {
			StringBuilder builder = new StringBuilder();
			for (String message : messages) {
				builder.append(message);
				builder.append("\n");
			}
			return builder.toString();
		}
Diagnostic dialog for display information about the components in a window and related focus
information.
Ghidra/Framework/Docking/src/main/java/ghidra/docking/util/ComponentInfoDialog.java