restore commit ok

This commit is contained in:
JunkJumper
2020-04-24 18:18:48 +02:00
parent 76c1652fd9
commit 3b590540ac
27 changed files with 649 additions and 642 deletions

View File

@@ -2,7 +2,6 @@ package ihm.controller;
import java.io.IOException;
import java.net.URL;
import java.util.Locale;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
@@ -20,11 +19,8 @@ public class PiocherVisionController implements Initializable{
}
@FXML
public void voirCarte(MouseEvent mouseEvent) throws IOException{
final URL fxmlURL = getClass().getResource("../ressources/jouer_Son_Tour_donner_vision.fxml");
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
Pane pane = fxmlLoader.load();
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouer_Son_Tour_donner_vision.fxml"));
rootPane.getChildren().setAll(pane);
}