private boolean Cerrar() { 
        boolean gc = true;
        if (!syntaxArea.getText().equalsIgnoreCase("")) {
            int res = JOptionPane.showConfirmDialog(this, "Save sintax file?", 
                    "WARNING", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE);
            if (res == JOptionPane.YES_OPTION) {
                logicSaveFile();
            } else if (res == JOptionPane.CANCEL_OPTION) {
                gc = false;
            }
        }
        return gc;
    }