public Tela() {
        initComponents();
        

        //JFileChooser configure txt
        jFileChooser1.setAcceptAllFileFilterUsed(false);
        FileFilter filter = new FileNameExtensionFilter("TXT File","txt");
        jFileChooser1.setFileFilter(filter);
        jFileChooser1.setControlButtonsAreShown(false);

        jFileChooser1.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
        
                File selectedFile = jFileChooser1.getSelectedFile();
                if(JFileChooser.OPEN_DIALOG == jFileChooser1.getDialogType()) {
                    
                    String path = selectedFile.getParent() + "/";
                    OrganizadorPalavras organizador = new OrganizadorPalavras();
                    ManipuladorArquivo manipula = new ManipuladorArquivo(path, selectedFile.getName());
                    String arquivoDeTexto = manipula.leArquivo(organizador);
        
                    System.out.println(arquivoDeTexto);
                    if(Desktop.isDesktopSupported()) {
                        File htmlFile = new File(System.getProperty("user.dir") + "/Textos/" +"html.html");
                        
                        try {
                            Desktop.getDesktop().open(htmlFile);
                        } catch (IOException ex) {
                            Logger.getLogger(Tela.class.getName()).log(Level.SEVERE, null, ex);
                        }

                    }
                }
            }
        });
}