title: Creating and Running intellij JAR file works perfectly within intellij, however running standalone JAR uses no resources
body: <p>So I've created a game in IntelliJ and I'm trying to create an executable JAR for said game. The JAR compiles fine and runs fine, however it's a blank screen and only uses my score(which, when coded using JAVA Swing was using default fonts and no images).</p>
  <p>Here is said image of the above
  <a href="https://i.stack.imgur.com/bw02Q.png" rel="nofollow noreferrer">1</a> [Image of blank screen when running standalone jar], I've also confirmed that the resources are indeed within the JAR file</p>
  <p>When I run the JAR file in IntelliJ using run configurations, or even just right clicking where the jar file was(from IntelliJ sidebar), it uses the jar perfectly fine and runs it fine as well.</p>
  <p>Here are said images of how the game is supposed to look.</p>
  <p><a href="https://i.stack.imgur.com/snkr7.png" rel="nofollow noreferrer">2</a> [running jar from intelliJ]</p>
  <p><a href="https://i.stack.imgur.com/tkRpH.png" rel="nofollow noreferrer">3</a> [begin screen]</p>
  <p><a href="https://i.stack.imgur.com/1rGX1.png" rel="nofollow noreferrer">4</a> [ingame]</p>
  <p><a href="https://i.stack.imgur.com/7YLXz.png" rel="nofollow noreferrer">5</a> [end screen]</p>