@Override
		public Dimension getPreferredSize() {
			Dimension size = super.getPreferredSize();

			// Cap preferred width to something reasonable; most displays have more than 1000 width.
			// Users can still resize as desired
			size.width = Math.min(size.width, 1000);
			return size;
		}
scrolled text panel used to display the error message details;
each time an error message is "added", appends the contents to
the internal StringBuffer.
Ghidra/Framework/Docking/src/main/java/docking/ErrLogDialog.java