leonardo 2015-10-26 17:19:43 +00:00
parent 2354bd4ad8
commit 1ec0d40d45
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class FrmMain extends javax.swing.JFrame implements MenuListener {
final JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
if (returnVal == JFileChooser.SAVE_DIALOG) {
File file = fc.getSelectedFile();
Arquivo arquivo = new Arquivo();
arquivo.GravaArquivo(file.getAbsolutePath(), rows);