private void setupBranchListener() {
		textbBranchListener = new MouseAdapter() {
			
			@Override
			public void mouseClicked(MouseEvent e){
		
		java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
		JTextPane textPane = (JTextPane) e.getSource();
		Point pt = new Point(e.getX(), e.getY());
		int pos = textPane.viewToModel(pt);
	
		
		if (pos >= 0)
		{
			StyledDocument doc = textPane.getStyledDocument();
			if (doc instanceof StyledDocument){
				StyledDocument hdoc = (StyledDocument) doc;
				Element el = hdoc.getCharacterElement(pos);
				AttributeSet a = el.getAttributes();
				String href = (String) a.getAttribute(HTML.Attribute.HREF);
				
				if (href != null){
					try{                            
						java.net.URI uri = new java.net.URI( href );
						desktop.browse( uri );
                       }
					catch ( Exception ev ){
						System.err.println( ev.getMessage() );
                       }
					
                }
				Integer branch = (Integer) a.getAttribute(HTML.Attribute.LINK);
				
				if (branch != null && branch != -1){
					
				}
			}
		}
		
		
		}
	};
	}