changement des chemins pour executable

This commit is contained in:
Kruss
2020-05-04 14:49:12 +02:00
parent 98a43e0363
commit eb5aacc8ce
10 changed files with 12 additions and 12 deletions

View File

@@ -229,7 +229,7 @@ public class PlateauController implements Initializable {
*/
public void consulterSaCarte(int numJoueur) throws IOException {
System.out.println(listJoueur.get(numJoueur).getNom() + " consulte sa carte");
final URL fxmlURL = getClass().getResource("../ressources/afficher_carte_perso.fxml");
final URL fxmlURL = getClass().getResource("/ihm/ressources/afficher_carte_perso.fxml");
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
Parent root = fxmlLoader.load();