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

@@ -27,7 +27,7 @@ public class ScrollPaneJoueurController implements Initializable{
@FXML
public void changeZoneJoueurToMenuJoueur(MouseEvent me) throws IOException {
BorderPane bp = FXMLLoader.load(getClass().getResource("../ressources/MenuJoueur.fxml"));
BorderPane bp = FXMLLoader.load(getClass().getResource("/ihm/ressources/MenuJoueur.fxml"));
ImageView iv = ((ImageView)me.getSource());
Parent p = iv.getParent().getParent().getParent().getParent();
AnchorPane ap = (AnchorPane)p;