private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        int i;
        i= JOptionPane.showConfirmDialog(null,"Desea salir del sistema?","Pregunta al Usuario",JOptionPane.OK_CANCEL_OPTION,JOptionPane.QUESTION_MESSAGE);
        if(i==0) {
            System.exit(0);
        }
    }//GEN-LAST:event_jButton2ActionPerformed