private void boxUsarAssessoriaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_boxUsarAssessoriaActionPerformed
        if(boxUsarAssessoria.isSelected()){
            boxAssessoria = true;
            //new ListaClientes().setVisible(true);
            ListaAssessoria lista = new ListaAssessoria();

            lista.setVisible(true);
            if(lista.isConcluido()){
                codigoAssessoria = lista.ConsultaCodigo();
                preencheAssessoria(codigoAssessoria);
                ativarCampoAssessoria(false);

            }else{
                boxUsarAssessoria.setSelected(false);
            }
        }else{
            boxAssessoria = false;
        }
    }