diff --git a/projet_linea/UserScoreBDD.db b/projet_linea/UserScoreBDD.db index 2fd78b4..ccbc43f 100644 Binary files a/projet_linea/UserScoreBDD.db and b/projet_linea/UserScoreBDD.db differ diff --git a/projet_linea/bin/Background.class b/projet_linea/bin/Background.class index 3a23fc0..121fc1c 100644 Binary files a/projet_linea/bin/Background.class and b/projet_linea/bin/Background.class differ diff --git a/projet_linea/bin/BonusMalus.class b/projet_linea/bin/BonusMalus.class index b92e91b..f77d9f8 100644 Binary files a/projet_linea/bin/BonusMalus.class and b/projet_linea/bin/BonusMalus.class differ diff --git a/projet_linea/bin/BoutonScoresUtilisateur$1.class b/projet_linea/bin/BoutonScoresUtilisateur$1.class index aa7e8f0..8703d7b 100644 Binary files a/projet_linea/bin/BoutonScoresUtilisateur$1.class and b/projet_linea/bin/BoutonScoresUtilisateur$1.class differ diff --git a/projet_linea/bin/BoutonScoresUtilisateur.class b/projet_linea/bin/BoutonScoresUtilisateur.class index 7efbf48..a70cc61 100644 Binary files a/projet_linea/bin/BoutonScoresUtilisateur.class and b/projet_linea/bin/BoutonScoresUtilisateur.class differ diff --git a/projet_linea/bin/CadreDeConnexion.class b/projet_linea/bin/CadreDeConnexion.class index 72bf9ee..83b5d19 100644 Binary files a/projet_linea/bin/CadreDeConnexion.class and b/projet_linea/bin/CadreDeConnexion.class differ diff --git a/projet_linea/bin/Cercle.class b/projet_linea/bin/Cercle.class index 50abd3c..66ae0ba 100644 Binary files a/projet_linea/bin/Cercle.class and b/projet_linea/bin/Cercle.class differ diff --git a/projet_linea/bin/GestionBDD.class b/projet_linea/bin/GestionBDD.class index 3f9acdf..178e6e9 100644 Binary files a/projet_linea/bin/GestionBDD.class and b/projet_linea/bin/GestionBDD.class differ diff --git a/projet_linea/bin/Jeu.class b/projet_linea/bin/Jeu.class index 9872cd2..bfd28c1 100644 Binary files a/projet_linea/bin/Jeu.class and b/projet_linea/bin/Jeu.class differ diff --git a/projet_linea/bin/Ligne.class b/projet_linea/bin/Ligne.class index 09e2ed5..e8f88fd 100644 Binary files a/projet_linea/bin/Ligne.class and b/projet_linea/bin/Ligne.class differ diff --git a/projet_linea/bin/LineaAppli.class b/projet_linea/bin/LineaAppli.class index 531b1f9..ed2bb20 100644 Binary files a/projet_linea/bin/LineaAppli.class and b/projet_linea/bin/LineaAppli.class differ diff --git a/projet_linea/bin/Niveau.class b/projet_linea/bin/Niveau.class index ff7abfa..a8339c1 100644 Binary files a/projet_linea/bin/Niveau.class and b/projet_linea/bin/Niveau.class differ diff --git a/projet_linea/bin/NiveauxDataConnect.class b/projet_linea/bin/NiveauxDataConnect.class index 7751f2b..b36948e 100644 Binary files a/projet_linea/bin/NiveauxDataConnect.class and b/projet_linea/bin/NiveauxDataConnect.class differ diff --git a/projet_linea/bin/ObjetGraphique.class b/projet_linea/bin/ObjetGraphique.class index 325acf6..088d49f 100644 Binary files a/projet_linea/bin/ObjetGraphique.class and b/projet_linea/bin/ObjetGraphique.class differ diff --git a/projet_linea/bin/Segment.class b/projet_linea/bin/Segment.class index c58a89e..04d2bb2 100644 Binary files a/projet_linea/bin/Segment.class and b/projet_linea/bin/Segment.class differ diff --git a/projet_linea/bin/ZoneDessin.class b/projet_linea/bin/ZoneDessin.class index a0a61a2..7a83ceb 100644 Binary files a/projet_linea/bin/ZoneDessin.class and b/projet_linea/bin/ZoneDessin.class differ diff --git a/projet_linea/bin/bddInit.class b/projet_linea/bin/bddInit.class index 3780038..b9a410e 100644 Binary files a/projet_linea/bin/bddInit.class and b/projet_linea/bin/bddInit.class differ diff --git a/projet_linea/src/CadreDeConnexion.java b/projet_linea/src/CadreDeConnexion.java index 0cbb2eb..a959bd9 100644 --- a/projet_linea/src/CadreDeConnexion.java +++ b/projet_linea/src/CadreDeConnexion.java @@ -10,7 +10,7 @@ public class CadreDeConnexion extends JFrame { setDefaultCloseOperation(EXIT_ON_CLOSE); setLocationRelativeTo(null); // Centre la fenêtre - // 2. Style du panneau principal (Gris foncé) + // 2. Style du panneau principal (noir ) JPanel panel = new JPanel(new GridBagLayout()); panel.setBackground(new Color(30, 30, 30)); add(panel); diff --git a/projet_linea/src/Jeu.java b/projet_linea/src/Jeu.java index eca9cf5..a166073 100644 --- a/projet_linea/src/Jeu.java +++ b/projet_linea/src/Jeu.java @@ -62,6 +62,10 @@ public class Jeu implements KeyListener, ActionListener{ // Constructeur de la classe //------------------------------------------------------------------------- public Jeu(int utilisateurId){ + // Créer les tables de la base de données si elles n'existent pas + GestionBDD.creerTableUtilisateurSiAbsente(); + GestionBDD.creerTableScoreSiAbsente(); + JFrame fenetre = new JFrame(); this.utilisateurId = utilisateurId;