update
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@ public class MonProgramme {
|
|||||||
|
|
||||||
public MonProgramme() {
|
public MonProgramme() {
|
||||||
try {
|
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 ?");
|
PreparedStatement pst = cnx.prepareStatement("SELECT name FROM episode WHERE id BETWEEN ? AND ?");
|
||||||
pst.setInt(1, 50);
|
pst.setInt(1, 50);
|
||||||
|
Binary file not shown.
@@ -13,7 +13,7 @@ public class Vote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try{
|
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{
|
try{
|
||||||
|
|
||||||
|
@@ -24,6 +24,11 @@ public class AffichageQuestion extends JPanel {
|
|||||||
public AffichageQuestion() {
|
public AffichageQuestion() {
|
||||||
this.modeSolution = false;
|
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