title: Java applet icon doesn't show
body: <p>I have a java applet where I've changed the image icon that appears in the top left corner of the window. The code I use is this:</p>
  
  <pre><code>    Toolkit kit = Toolkit.getDefaultToolkit();
      Image frameIcon = kit.getImage("src/myapp/resources/logo.png");        
      getFrame().setIconImage(frameIcon);
  </code></pre>
  
  <p>Everything works fine until I deploy the applet to a standalone jar. In this case the icon that shows is the default icon, as if the code couldn't find the image. But the image is inside, although it is in the folder: myapp/resources/</p>
  
  <p>What am I doing wrong here?
  Is this some weird java bug?</p>