private static void configure(Alert alert, Throwable t) {
		// Create expandable Exception.
		String exceptionText = StringUtil.traceToString(t);
		TextArea textArea = new TextArea(exceptionText);
		textArea.setEditable(false);
		textArea.setWrapText(true);
		textArea.setMaxWidth(Double.MAX_VALUE);
		textArea.setMaxHeight(Double.MAX_VALUE);

		// Set expandable Exception into the dialog pane.
		alert.getDialogPane().setExpandableContent(textArea);
		alert.getDialogPane().setExpanded(true);
		alert.showAndWait();
	}
@param title
		Title text.
@param header
		Header text.
@param content
		Content text.
@param t
		The error to display.
recaf-ui/src/main/java/software/coley/recaf/util/ErrorDialogs.java