private void jTextFieldSearchAdherentKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextFieldSearchAdherentKeyTyped
        // TODO add your handling code here:
        if (evt.getKeyChar() == KeyEvent.VK_ENTER) {
            String toSearch = jTextFieldSearchAdherent.getText();
            if (jRadioButtonIdAdherent.isSelected()) {
                try {
                    this.searchByIdAdherent(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundAdherent.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            } else if (jRadioButtonNomAdherent.isSelected()) {
                try {
                    this.searchByNomAdherent(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundAdherent.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            } else if (jRadioButtonPrenomAdherent.isSelected()) {
                try {
                    this.searchByPrenomAdherent(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundAdherent.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            }
        }
    }