title: Correct way to set the path of a BackgroundImage in JavaFX CSS
body: <p>I have an <strong>AnchorPane</strong> and I want to style it by giving it a BackgroundImage I have in another package : 
  <img src="https://i.stack.imgur.com/0B6kz.png" alt="File Structure Screenshot"></p>
  
  <p>Here's the CSS I tried:</p>
  
  <pre><code>#body 
  {
      -fx-background-image:url("/Images/FlowersPattern_beige_background.jpg");   
  }
  </code></pre>
  
  <p>Using javascript I set the AnchorPane's CSS id to <code>body</code>; that didn't work. I tried to check other questions already asked, but they didn't help. Please can you clarify how, exactly, it should be done?</p>