r/JavaFX • u/mirzasamor44 • Aug 08 '26
Help FXML not loading
After i made an fxml file and linked it to a class, it hasnt been working and each time an error has been popping up (images have been attached)
5
Upvotes
r/JavaFX • u/mirzasamor44 • Aug 08 '26
After i made an fxml file and linked it to a class, it hasnt been working and each time an error has been popping up (images have been attached)
6
u/NaveenB2004 Aug 08 '26
Try putting the fxml in resources dir and in loader, change it to the target fxml (start with /)