I work with eclipse.
Part One: I've got 2 projects. Project A is a simple FX-Dialog (Java-Controller and fxml-File). There is no main in it. package: info.azo
Project B is a databased FX-Application (main) package: ch.muellner
I want to load the login dialog of project A in project B
I do it this way, but the error is: 'Location not found'
FXMLLoader loader = new FXMLLoader();
loader.setLocation(Main.class.getResource("info.azo/Login.fxml"));
AnchorPane anchorPane = (AnchorPane) loader.load();
My path to fxml is not correct, what is the correct syntax?
Part Two: Project A is also a JAR-File, I could load this from Project B, but how?