I'm using maven in netbeans and have imported a JavaFX project there. When I try to run getResourceAs, or this code:
I get an error. This is mysterious to me as I would think that (From what I've read on stackoverflow on this system, it loads files from where the classes are in the jar. Since the .fxml file is in the same package it should load it, bu instead it prints null.
Am I doing something wrong?
Directory of the project folder (In the attachments section)