private void match1PlusActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_match1PlusActionPerformed
        if (!heureChoice.getSelectedItem().equals("Tous") && !courtChoice.getSelectedItem().equals("Tous")) {
            try {
                int terrain = courtChoice.getSelectedIndex();
                int heure = Integer.valueOf(heureChoice.getSelectedItem().substring(0, 
                        heureChoice.getSelectedItem().indexOf("h")));
                MatchDao mdao = DaoFactory.getMatchDao();
                Match m = mdao.selectMatchByTerrainByDateByHour(jour, terrain, heure);
                fenMoreInfo.setVisible(true);
                afficherFenMoreInfo(m);
            } catch (IOException | SQLException ex) {
                Logger.getLogger(MenuPrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        else if (heureChoice.getSelectedItem().equals("Tous")) {
            try {
                int terrain = courtChoice.getSelectedIndex();
                int heure = 8;
                MatchDao mdao = DaoFactory.getMatchDao();
                Match m = mdao.selectMatchByTerrainByDateByHour(jour, terrain, heure);
                fenMoreInfo.setVisible(true);
                afficherFenMoreInfo(m);
            } catch (IOException | SQLException ex) {
                Logger.getLogger(MenuPrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        else {
            try {
                int terrain = 1;
                int heure = Integer.valueOf(heureChoice.getSelectedItem().substring(0, 
                        heureChoice.getSelectedItem().indexOf("h")));
                MatchDao mdao = DaoFactory.getMatchDao();
                Match m = mdao.selectMatchByTerrainByDateByHour(jour, terrain, heure);
                fenMoreInfo.setVisible(true);
                afficherFenMoreInfo(m);
            } catch (IOException | SQLException ex) {
                Logger.getLogger(MenuPrincipal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }//GEN-LAST:event_match1PlusActionPerformed