private void parseFormAndUpdate() {
        this.nome = this.jTextField1.getText();
        this.email = this.jTextField2.getText();
        this.senhaAntiga = String.copyValueOf(this.jPasswordField3.getPassword());
        this.senhaNova = String.copyValueOf(this.jPasswordField1.getPassword());
        
        boolean ok = true;

        if (String.copyValueOf(jPasswordField2.getPassword()).isEmpty()) {
            jPasswordField2.setBackground(Color.red);
            jPasswordField2.grabFocus();
            ok = false;
        }
        
        if (senhaAntiga.isEmpty()) {
            jPasswordField3.setBackground(Color.red);
            jPasswordField3.grabFocus();
            ok = false;
        }

        if (senhaNova.isEmpty()) {
            jPasswordField1.setBackground(Color.red);
            jPasswordField1.grabFocus();
            ok = false;
        }

        if (email.isEmpty()) {
            jTextField2.setBackground(Color.red);
            jTextField2.grabFocus();
            ok = false;
        }

        if (nome.isEmpty()) {
            jTextField1.setBackground(Color.red);
            jTextField1.grabFocus();
            ok = false;
        }

        jLabel8.setVisible(!ok);

        if (ok && senhaAntigaOK && senhaNovaOK) {
            BusinessFactory factory = BusinessFactory.getInstance();
            UsuarioVO user = new UsuarioVO(nome,email,senhaNova,0); 
            try {
                factory.getUsuario().update(user);
                MainWindow.getInstance().closeCurrentCard();
            } catch (BusinessException ex) {
                Logger.getLogger(JPCadastrarUsuario.class.getName()).log(Level.SEVERE, null, ex);
            }
        }


        }