title: how to package images into a Runnable JAR
body: <p><strong>Before</strong>... (question deleted)</p>
  
  <p>I'm trying to make a runnable jar from a Swing project.</p>
  
  <p>I add some images in /img folder. Previous version didn't have it and runnable jar was good through export in Eclipse.</p>
  
  <p>Now I guess something is going wrong. In runnable jar I added at same level of main package and META-INF folder, this img folder but it seems GUI does not appear.</p>
  
  <p>Some process before building GUI went good so main class seems ok.</p>
  
  <p>Any suggestion!?</p>
  
  <p>Thanks.</p>
  
  <p>Comments : </p>
  
  <p>Run it on the command line and post the error you get. – <strong>Kevin</strong> </p>
  
  <p>Any suggestion!?. Yes. post the structure of the jar file, the code which fails, and the stack trace of the exception you get. Otherwise, I don't see how we could help you. –   <strong>JB Nizet</strong> </p>
  
  <p>Did you plop some images into a path the classloader can see? – <strong>Perception</strong></p>
  
  <p><strong>After</strong>....</p>
  
  <p>So I found the problem, still not the solution:</p>
  
  <p>As I said, I manually put /img inside jar as you can see by first screenshot:</p>
  
  <p><a href="http://img94.imageshack.us/img94/1691/screenshot021ep.jpg" rel="nofollow noreferrer">http://img94.imageshack.us/img94/1691/screenshot021ep.jpg</a></p>
  
  <p>But nothing happens, now I put /img outside jar and GUI starts:</p>
  
  <p><a href="http://img21.imageshack.us/img21/1551/screenshot022jj.jpg" rel="nofollow noreferrer">http://img21.imageshack.us/img21/1551/screenshot022jj.jpg</a></p>
  
  <p>So, how can I package /img folder or icons for my app?</p>
  
  <p>Thanks.</p>
  
  <p>PS: cmd line didn't print anything, the app starts and does some things right except for GUI building.</p>