private int getScrollBarWidth() {
			JScrollBar bar = getVerticalScrollBar();
			if (bar == null) {
				return 0;
			}

			return bar.getPreferredSize().width * 2; // double the size (fudge factor)
		}
Constructs a new JTextArea with the specified number of
rows and columns, and the given model. All of the
constructors feed through this constructor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/ScrollableTextArea.java