File inputFile = new File(MainView.this.jtfInputFile.getText());
File outputFile = new File(MainView.this.jtfOutputFile.getText());
try {
FileInputStream file1 = new FileInputStream(inputFile);
FileOutputStream file2 = new FileOutputStream(outputFile);
enc.encrypt(file1, file2);
} catch (Exception e) {
JOptionPane.showMessageDialog(MainView.this, "Erro em criptografar: "+e.getMessage());
}
MainView.this.jbEncrypt.setEnabled(true);
MainView.this.jbDecrypt.setEnabled(true);