private void DecodeBinaryMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DecodeBinaryMenuItemActionPerformed
        // TODO add your handling code here:
        try {
            JFileChooser fileChooser = new JFileChooser();
            fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
            fileChooser.setMultiSelectionEnabled(false);
            int showOpenDialog = fileChooser.showSaveDialog(this);
            if (showOpenDialog == JFileChooser.APPROVE_OPTION) {
                if (fileChooser.getSelectedFile().exists()) {
                    if (JOptionPane.showConfirmDialog(this, "O arquivo selecionado já existe e será sobreposto. Deseja cancelar", "Salvar arquivo", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE) == JOptionPane.YES_OPTION) {
                        return;
                    }
                }
                byte[] encodeBase64Chunked = Base64.decodeBase64(jTextArea1.getText().getBytes("UTF-8"));
                org.apache.commons.io.FileUtils.writeByteArrayToFile(fileChooser.getSelectedFile(), encodeBase64Chunked);//readFileToByteArray(fileChooser.getSelectedFile());
            }
        } catch (UnsupportedEncodingException ex) {
            Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_DecodeBinaryMenuItemActionPerformed