@Override
    public void actionPerformed(ActionEvent ae) {
        try {      
            String op = ae.getActionCommand();
            switch(op){
                case "Salvar":
                    execSalvarXml();
                    break;
                    
                case "Cancelar":
                    jifXmlViewer.dispose();
                    break;
            }   
        } catch (IOException ex) {
            Logger.getLogger(ControllerXMLViewer.class.getName()).log(Level.SEVERE, null, ex);
        }
    }