changements pour executable
This commit is contained in:
parent
a3ae506ee7
commit
6f6c2af608
@ -306,7 +306,7 @@ public class PlateauController implements Initializable {
|
|||||||
EffetSonore.playSoundEffect(fileSound1);
|
EffetSonore.playSoundEffect(fileSound1);
|
||||||
|
|
||||||
System.out.println("Jeu en pause ...");
|
System.out.println("Jeu en pause ...");
|
||||||
final URL fxmlURL = getClass().getResource("../ressources/Pause.fxml");
|
final URL fxmlURL = getClass().getResource("/ihm/ressources/Pause.fxml");
|
||||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||||
Pane root = (Pane)fxmlLoader.load();
|
Pane root = (Pane)fxmlLoader.load();
|
||||||
|
@ -31,7 +31,7 @@ public class ReglesControlleur implements Initializable {
|
|||||||
@Override
|
@Override
|
||||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
public void initialize(URL arg0, ResourceBundle arg1) {
|
||||||
|
|
||||||
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle1.png");
|
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle1.PNG");
|
||||||
Image image = new Image(input);
|
Image image = new Image(input);
|
||||||
imageRegles.setImage(image);
|
imageRegles.setImage(image);
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ public class ReglesControlleur implements Initializable {
|
|||||||
System.out.println("C'est la dernière page!");
|
System.out.println("C'est la dernière page!");
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle" + index + ".png");
|
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle" + index + ".PNG");
|
||||||
Image image = new Image(input);
|
Image image = new Image(input);
|
||||||
imageRegles.setImage(image);
|
imageRegles.setImage(image);
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ public class ReglesControlleur implements Initializable {
|
|||||||
System.out.println("C'est la première page!");
|
System.out.println("C'est la première page!");
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle" + index + ".png");
|
InputStream input = getClass().getResourceAsStream("/ihm/ressources/img/Regle" + index + ".PNG");
|
||||||
Image image = new Image(input);
|
Image image = new Image(input);
|
||||||
imageRegles.setImage(image);
|
imageRegles.setImage(image);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user