title: Eclipse exported Runnable JAR not showing images
body: <p>My images will not load when running a JAR file exported from Eclipse.</p>
  
  <p>I have the images in a resources class package. I've tried a images source folder as well with no luck.</p>
  
  <p>Works perfectly when loaded from Eclipse. The images are in the exported JAR file, so they're exporting fine.</p>
  
  <p>I've tried:</p>
  
  <pre><code>label.setIcon(new ImageIcon(MainFrame.class.getResource("/resources/header.jpg")));
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>URL url = getClass().getResource("/resources/header.jpg");
  Image image = Toolkit.getDefaultToolkit().getImage(url);
  label.setIcon(new ImageIcon(image));
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>try
  {
      label.setIcon(new  ImageIcon(ImageIO.read(getClass().getResource("/resources/header.jpg"))));
  }
  catch (IOException e1)
  {
      e1.printStackTrace();
  }
  </code></pre>
  
  <p>Any suggestions?</p>