public void setText(final String text) {
		textPane.setText(text);

		//
		// Hack Alert!: I've run into scenarios where changing the text of this component 
		//              causes the entire component to paint no text.  For some reason, the 
		//              component will work correctly if it has a non-zero size border installed.
		//              Also, if we call getPreferredSize(), then it will work.
		//
		textPane.getPreferredSize();
		getPreferredSize();
	}
Add a listener that will be called whenever hyperlink updates happen (hover, activate, etc).

@param anchorName The value in the <code>href</code> attribute of the anchor tag.
@param listener The listener to be called when the anchor(s) with a matching <code>href</code> is
       manipulated by the user.
Ghidra/Framework/Docking/src/main/java/docking/widgets/HyperlinkComponent.java