title: Cannot include FXML file in another folder
body: <p>I have an FXML file that I'd like to include in another. The problem is, it resides in another folder. Now when I assign the full path as:</p>
  
  <pre><code>&lt;fx:include source="/applicationName/folder1/folder2/anFXMLFile.fxml"/&gt;
  </code></pre>
  
  <p>the parent fxml file sees it and Nebeans even allows me to CTRL+click to open the file for editing. </p>
  
  <p>However, when I double click the Parent file scene builder won't open it.</p>
  
  <p>The error I get when attempting to load it in Scene Builder is this:</p>
  
  <pre><code>Error loading file       
  'C:/Users/user/Documents/NetBeansProjects/Application/src/application/staff/view/NewStaff.fxml'.
   C:\Users\user\Documents\NetBeansProjects\Application\src\application\staff\view\NewStaff.fxml:23: error: 
  java.lang.IllegalStateException: Location is not set.
  </code></pre>
  
  <p>I'm really not sure what's going on.</p>
  
  <p>My motivation is this: The included FXML files represent things like "personal info", "address", forms which I can re-use with multiple entities like people, staff, locations, etc.</p>
  
  <p>By having the FXML files in one place and including them in other fxml files I was hoping for some code-reuse. That's all. I can keep all the included fxml in the same folder as the parent and it works fine.</p>
  
  <p>Please help!</p>