Package controller

Examples of controller.CandidatoController.aprovarCandidato()


            Object[] opcoes = {"Sim", "Não"};
            int confirma = JOptionPane.showOptionDialog(null, "Você está aprovando este Candidato." + Strings.confirmaProcesso, Strings.tituloProcesso,JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, opcoes, opcoes[0]);
            if (confirma == 0) {
                boolean aprovou = false;               
                CandidatoController candidatoCtrl = new CandidatoController();
                aprovou = candidatoCtrl.aprovarCandidato(jTextFieldCodigoCandidato.getText());
                AulaAvaliativaController aulaCtrl = new AulaAvaliativaController();
                aprovou = aulaCtrl.aprovarCandidato(jTextFieldCodigoAulaAvaliativa.getText());
                if(aprovou){
                    jComboBoxResultado.setEnabled(false);
                    jButtonReprocessar.setEnabled(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.