I get following structure:
project |---+build |---+dist |---+nbproject |----src |-------client |----------stuff |-------------controller |----------------DefaultController.java |-------------files |-------------fxml |----------------DefaultFXML.fxml |-------------img |-------------lib |---------------ContentManager.java |-------------root |---------------StartClass.Java |---+build.xml |---manifest.mf
I'm setting in the ContentManager the fxml-Files like:
public static final String
DEFAULT_SCREEN_FXML = "../fxml/Default.fxml";
But i get allways a nullPointerException. And i dont want to work with absolute Path. So how to finde out the relative path? And is it right to set the controller of the fxml-file with:
fx:id="client.stuff.controller.DefaultController"
??