I want to load an fxml file in my application. I use the next code:
try { FXMLLoader loader = new FXMLLoader(); loader.setController(null); loader.setRo
Here is the solution.
Add this line for the loader:
loader.setLocation(JfxUtils.class.getResource(fxml));
Very bad bug.