diff --git a/lib/postgresql-42.2.12.jar b/lib/postgresql-42.2.12.jar new file mode 100644 index 0000000..1f393bb Binary files /dev/null and b/lib/postgresql-42.2.12.jar differ diff --git a/src/database/DatabaseTesting.java b/src/database/DatabaseTesting.java index e0249ca..e5aad7c 100644 --- a/src/database/DatabaseTesting.java +++ b/src/database/DatabaseTesting.java @@ -13,9 +13,9 @@ import java.sql.Statement; public class DatabaseTesting { public static void main(String[] args) { Table a = new Table("a"); - a.remplirTableAllFrom("CartesLumiere"); + a.remplirTableAllFrom("CartesAll"); System.out.println(a.toString()); - //BufferedImage jpg = new BufferedImage(467, 652, 1); + BufferedImage jpg = new BufferedImage(467, 652, 1); /* diff --git a/src/database/QueryGenerator.java b/src/database/QueryGenerator.java index 24052bf..3ec85ee 100644 --- a/src/database/QueryGenerator.java +++ b/src/database/QueryGenerator.java @@ -15,7 +15,7 @@ public class QueryGenerator { } public static String getTable(String s) { - return "public.\"" + s + "\""; + return "public." + '"' + s + '"'; } } diff --git a/src/ihm/Main.java b/src/ihm/Main.java index fd95c5e..7e33c40 100644 --- a/src/ihm/Main.java +++ b/src/ihm/Main.java @@ -15,7 +15,11 @@ public class Main extends Application { public void start(Stage primaryStage) throws Exception { System.out.println("Lancement de l'application"); +<<<<<<< HEAD final URL fxmlURL = getClass().getResource("ressources/parametre.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml" +======= + final URL fxmlURL = getClass().getResource("ressources/Menu.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml" +>>>>>>> 47a2be32525b7a871993afd9411befb3fd20fac1 final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH); final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle); Pane root = fxmlLoader.load(); diff --git a/src/ihm/controller/PlateauController.java b/src/ihm/controller/PlateauController.java index acc9836..54a100b 100644 --- a/src/ihm/controller/PlateauController.java +++ b/src/ihm/controller/PlateauController.java @@ -27,21 +27,25 @@ import javafx.scene.image.ImageView; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; +<<<<<<< HEAD +======= import javafx.util.Duration; +>>>>>>> eea99d2341b1df015a2831034aa39534addff16e import main.Joueur; import main.View; public class PlateauController implements Initializable { private List listJoueur = new ArrayList(); private List vboxJoueur = new ArrayList(); + private List hboxJoueur = new ArrayList(); private List + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + +