title: How to access images from a resource folder in intelliJ IDEA without having to give entire path name
body: <p>How would I do something like this in intelliJ IDEA</p>
  
  <pre><code>File file = new File("C:\Users\Account\Documents\ProjectFolder\ResourceFolder\image");
  </code></pre>
  
  <p>But not have to enter the whole file path in. I'm pretty sure there is a way, and I'm fairly certain it has something to do with adding it to my build path. I know how to do that in Eclipse but not in intelliJ.<br>
  Thanks in advance!</p>