title: How to get files from resources map in Maven project
body: <p>I have structure of project like this:</p>
  
  <p><a href="https://i.stack.imgur.com/PX3NF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PX3NF.png" alt="enter image description here"></a></p>
  
  <p>and try to create Label with image using this code</p>
  
  <pre><code>bAddTheme = new Label("Add theme",
                        new ImageView(new Image("images/addTheme.png")));
  </code></pre>
  
  <p>after compling get error like "Invalid URL: Invalid URL or resource not found". How correctly to write path to file?</p>