update
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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.
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user