private void displaySummaryResults(Exporter exporter) {
		File outputFile = getSelectedOutputFile();
		StringBuffer resultsBuffer = new StringBuffer();

		resultsBuffer.append("Destination file:       " + outputFile.getAbsolutePath() + "\n\n");
		resultsBuffer.append("Destination file Size:  " + outputFile.length() + "\n");
		resultsBuffer.append("Format:                 " + exporter.getName() + "\n\n");

		MessageLog log = exporter.getMessageLog();
		resultsBuffer.append(log.toString());

		HelpLocation helpLocation = new HelpLocation(GenericHelpTopics.ABOUT, "About_Program");

		Object tmpConsumer = new Object();
		if (domainObject != null) {
			domainObject.addConsumer(tmpConsumer);
		}
		Swing.runLater(() -> {
			try {
				Map<String, String> metadata =
					domainObject != null ? domainObject.getMetadata() : domainFile.getMetadata();
				AboutDomainObjectUtils.displayInformation(tool, domainFile, metadata,
					"Export Results Summary", resultsBuffer.toString(), helpLocation);
			}
			finally {
				if (domainObject != null) {
					domainObject.release(tmpConsumer);
				}
			}
		});

	}
Gets the address factory for the program to be exported, opening it if necessary.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/exporter/ExporterDialog.java