private void jTextFieldSearchLivreKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextFieldSearchLivreKeyTyped
        // TODO add your handling code here:
        if (evt.getKeyChar() == KeyEvent.VK_ENTER) {
            String toSearch = jTextFieldSearchLivre.getText();
            if (jRadioButtonAllLivre.isSelected()) {
                this.searchByMotsClesLivre(toSearch);
            } else if (jRadioButtonIdLivre.isSelected()) {
                try {
                    this.searchByIdLivre(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundLivre.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            } else if (jRadioButtonAutorLivre.isSelected()) {
                try {
                    this.searchByAutorLivre(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundLivre.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            } else if (jRadioButtonTitleLivre.isSelected()) {
                try {
                    this.searchByTitleLivre(toSearch);
                } catch (Exception ex) {
                    Logger.getLogger(TableauDeBord.class.getName()).log(Level.SEVERE, null, ex);
                    jLabelNbFoundLivre.setText("<html><body><font color='red'>" + ex.getMessage() + "</font></body></html>");
                }
            }
        }
    }