public MainView() {
        initComponents();
        tfResult.setContentType("text/html");
        
        final Desktop desktop = Desktop.getDesktop(); 
        
        tfResult.setEditable(false);
        tfResult.setOpaque(false);

        tfResult.addHyperlinkListener(new HyperlinkListener() {

            public void hyperlinkUpdate(HyperlinkEvent hle) {
                if (HyperlinkEvent.EventType.ACTIVATED.equals(hle.getEventType())) {
                    try {
                        System.out.println(hle.getURL());
                        try {
                            desktop.browse(new URI(hle.getURL().toString()));
                        } catch (URISyntaxException ex) {
                            Logger.getLogger(MainView.class.getName()).log(Level.SEVERE, null, ex);
                        }
                    } catch (IOException ex) {
                        Logger.getLogger(MainView.class.getName()).log(Level.SEVERE, null, ex);
                    }

                }
            }
        });
        
    }