Skip to content

Commit 557086b

Browse files
author
BarbDev
committed
fini
1 parent 85f0b95 commit 557086b

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

films.csv

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
titre|duree|note|prix|date_sortie|genres|synopsis|acteurs
22
Cro Man|90|7.5|10.33|2018-10-10|comique|Préhistoire, quand les dinosaures et les ma...|Pierre Niney;Kaycie Chase;Eddie Redmayne
3-
Le Labyrinthe : le remède mortel|142|8.5|5|2018-5-5|aventure|Dans ce dernier volet de l’épopée LE LABYRINTHE,|Dylan O'Brien;Kaya Scodelario;Thomas Brodie-Sangster
3+
Le Labyrinthe : le remède mortel|142|8.5|5|2018-5-5|aventure|Dans ce dernier volet de l’épopée LE LABYRINTHE,|Dylan O'Brien;Kaya Scodelario;Thomas Brodie-Sangster
4+
Juesqu'à la Garde|93|5.5|2.3|2018-6-6|thriller|Le couple Besson divorce.|Denis Ménochet;Léa Drucker;Mathilde Auneveux
5+
Rita et le Crocodile|40|6|3|2018-5-5|animation|Rita, petite fille de 4ans au caratère...|Inconnus
6+
Agatha, ma voisine détective|77|3|6|2018-5-5|animation|Agatha, dix ans...|Maïa Dory;Esteban Oertli;Valérie Muzzi
7+
Les Dalton|86|1|6|2004-5-5|comique|Les Dalton dévalisent une banque...|Eric Judor;Ramzy Bedia
8+
Vercingétorix : la légende du druide roi|142|3|9|2001-5-5|aventure|Au cours du premier siècle avant JC...|Christophe Lambert;Klaus Maria Brandauer
9+
Les dents de la mer 4|95|5|4|2003-5-5|thriller|Ellen, la femme du chef Brody...|Lorraine Gary;Lance Gues
10+
Gran Torino|111|9|15|2009-5-5|thriller|Walt Kowalski est un ancien de la guerre de...|Clint Eastwood;Bee Vang
11+
Le Voyaga de Chihiro|125|8|12|2002-5-5|animation|Chihiro, une fillette capricieuse...|Rumi Hiiragi;Miyu Irino

src/main/java/ihm/main/BarreRecherche.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ public BarreRecherche(MoteurDeRecherche m, Centre fenRslt) {
4141
c.gridx = 0;
4242
add(new JLabel("Genre :"), c);
4343
genre = new JComboBox<>(new String[]{
44-
"", "Comique", "Fantastique", "Policier"
44+
"", "Comique", "Aventure", "Thriller", "Animation"
4545
});
4646
c.gridx = 1;
4747
add(genre, c);
4848

4949
c.gridx = 2;
5050
add(new JLabel("Durée :"), c);
5151
duree = new JComboBox<>(new String[]{
52-
"< 180", "180 - 240", "> 240"
52+
"< 40", "40 - 90", "> 90"
5353
});
5454
c.gridx = 3;
5555
add(duree, c);
@@ -90,13 +90,13 @@ Critere[] getCriteres() {
9090
//"< 180", "180 - 240", "> 240"
9191
switch (duree.getSelectedIndex()) {
9292
case 0:
93-
c.add(new CritereDuree(0, 180));
93+
c.add(new CritereDuree(0, 40));
9494
break;
9595
case 1:
96-
c.add(new CritereDuree(180, 240));
96+
c.add(new CritereDuree(40, 90));
9797
break;
9898
case 2:
99-
c.add(new CritereDuree(240, 10000));
99+
c.add(new CritereDuree(90, 10000));
100100
break;
101101
}
102102

test.mv.db

248 KB
Binary file not shown.

0 commit comments

Comments
 (0)