From 5beaeacc1eecdd9637d32031eb66e2d19a7db010 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 9 Dec 2021 13:07:59 +0100 Subject: [PATCH] fix special character not showing correctly in javafx on windows --- client/src/main/java/fr/lnl/game/client/view/Window.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/client/src/main/java/fr/lnl/game/client/view/Window.java b/client/src/main/java/fr/lnl/game/client/view/Window.java index 0e004a7..ae649d3 100644 --- a/client/src/main/java/fr/lnl/game/client/view/Window.java +++ b/client/src/main/java/fr/lnl/game/client/view/Window.java @@ -64,8 +64,8 @@ public class Window extends AbstractView { public void displayWinner(Player winner) { Alert alert = new Alert(Alert.AlertType.INFORMATION); alert.setTitle("Fin du jeu"); - alert.setHeaderText("La partie est terminé"); - alert.setContentText("Un joueur " + winner + " a gagné"); + alert.setHeaderText("La partie est termin\u00E9"); + alert.setContentText("Un joueur " + winner + " a gagn\u00E9"); App.getViewManager().updateView(); alert.showAndWait(); } @@ -170,9 +170,6 @@ public class Window extends AbstractView { principalPane.getChildren().add(sp); } - // TODO: 07/12/2021 Maintenant régler : Responsive - - public void putStatePlayerPane(Pane principalPane){ int Y = 0; for(int i=0;i