title: Trying to load icon from jar file
body: <p>I am trying to load icons from a jar file.   I have both tried to load it from classes within the jar file as well as classes outside the jar file.  </p>
  
  <p>outside of the jarfile -  returned a null exception  </p>
  
  <pre><code>java.net.URL imageURL = LoadHTMLExample.class.getClassLoader()
      .getResource("icons/mouse.png");
  </code></pre>
  
  <p>in side of the jar file in the LoadHTMLExample</p>
  
  <pre><code>java.net.URL imageURL = this.getClass().getClassLoader()
      .getResource("icons/mouse.png");
  </code></pre>
  
  <p>get the same error.</p>
  
  <p>I have also tried variations of 
  "icons", "/icons" "icons/" "/icons/mouse.png" "icons/mouse.png"</p>
  
  <p>nothing seems to work any idea</p>
  
  <p>the icon is in the jar file</p>
  
  <pre><code>jar
   --icons --- {all the images}
  
   --com.blah.blah
  </code></pre>