title: Slick cannot load the image?
body: <p>So I'm following <a href="http://youtube.com/thenewboston" rel="nofollow noreferrer">thenewboston</a>'s tutorials on Slick 2D. I'm loading the Image exactly as he said:</p>
  
  <pre><code>private org.newdawn.slick.Image playNow;
  ...
  public void init(GameContainer gc, StateBasedGame sbg) throws SlickException {
  ...
  playNow = new org.newdawn.slick.Image("res/playNow.png");
  </code></pre>
  
  <p>This is my Eclipse project tree:  </p>
  
  <p><img src="https://i.imgur.com/dyuv7.png" alt="tree"></p>
  
  <p>This is the output it gives me:</p>
  
  <pre><code>Tue Jul 03 09:31:53 PDT 2012 INFO:Slick Build #274
  Tue Jul 03 09:31:53 PDT 2012 INFO:LWJGL Version: 2.8.5
  Tue Jul 03 09:31:53 PDT 2012 INFO:OriginalDisplayMode: 1366 x 768 x 32 @60Hz
  Tue Jul 03 09:31:53 PDT 2012 INFO:TargetDisplayMode: 640 x 360 x 0 @0Hz
  Tue Jul 03 09:31:53 PDT 2012 INFO:Starting display 640x360
  Tue Jul 03 09:31:53 PDT 2012 INFO:Use Java PNG Loader = true
  Tue Jul 03 09:31:53 PDT 2012 INFO:Controllers not available
  Exception in thread "main" java.lang.RuntimeException: Resource not found: res/playNow.png
  at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
  at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:169)
  at org.newdawn.slick.Image.&lt;init&gt;(Image.java:196)
  at org.newdawn.slick.Image.&lt;init&gt;(Image.java:170)
  at org.newdawn.slick.Image.&lt;init&gt;(Image.java:158)
  at org.newdawn.slick.Image.&lt;init&gt;(Image.java:136)
  at net.sourceforge.whowantsakookie.hamblaster.Menu.init(Menu.java:21)
  at net.sourceforge.whowantsakookie.hamblaster.Game.initStatesList(Game.java:20)
  at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:164)
  at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
  at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
  at net.sourceforge.whowantsakookie.hamblaster.Game.main(Game.java:31)
  </code></pre>
  
  <p>The tutorial is located <a href="http://www.youtube.com/watch?v=oqKwYtk29QM" rel="nofollow noreferrer">here</a></p>
  
  <p>I am doing this exactly as the tutorial said, and it works for him in the video. Thanks in advance :)</p>