HTML support in most Swing components is provided simply to make text formatting easy. It will not duplicate the functionality of a web browser (i.e. clicking on an anchor tag taking you to another page). See here for the Java Tutorial chapter on HTML in Swing. You either need to implement a listener to handle the mouse click or use a component like EditorPane which can more fully parse and render HTML.