This commit is contained in:
EmmanuelTiamzon
2025-10-14 14:41:43 +02:00
parent 2d715a4b04
commit 016c70aab4
6 changed files with 7 additions and 2 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -5,7 +5,7 @@ public class MonProgramme {
public MonProgramme() {
try {
Connection cnx = DriverManager.getConnection("jdbc:mariadb://dwarves.iut-fbleau.fr/srivasta","srivasta", "Tiamzon2006");
Connection cnx = DriverManager.getConnection("jdbc:mariadb://dwarves.iut-fbleau.fr/srivasta","login", "mdp");
PreparedStatement pst = cnx.prepareStatement("SELECT name FROM episode WHERE id BETWEEN ? AND ?");
pst.setInt(1, 50);
Binary file not shown.
+1 -1
View File
@@ -13,7 +13,7 @@ public class Vote {
}
try{
Connection cnx = DriverManager.getConnection("jdbc:mariadb://dwarves.iut-fbleau.fr/srivasta","srivasta", "Tiamzon2006");
Connection cnx = DriverManager.getConnection("jdbc:mariadb://dwarves.iut-fbleau.fr/srivasta","login", "mdp");
try{
@@ -24,6 +24,11 @@ public class AffichageQuestion extends JPanel {
public AffichageQuestion() {
this.modeSolution = false;
}
public JLabel afficherQuestion(Question question, int indexQuestion, ChoixUtilisateur choixUtilisateur) {
JLabel labelQuestion = new JLabel(question.makeNewQuestion());
return labelQuestion;
}
}
/*