private void insertString(String str, SimpleAttributeSet attributeSet) {
		int offset = doc.getLength();

		try {
			doc.insertString(offset, str, attributeSet);
		}
		catch (BadLocationException e1) {
			Msg.debug(this, "Exception entering text", e1);
		}
	}
Panel to show the contents of a Source Archive.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/datatypes/SourceArchivePanel.java