title: How to reference a local image in java?
body: <pre><code>jLabel5.setIcon(new javax.swing.ImageIcon("./i/login.png"));
  </code></pre>
  
  <p>I'm trying to reference that image. The path is correct, and the image actually exists. When I use the full path (I.E. "C:/ blah blah" it works, but this doesn't?</p>
  
  <p>The image folder is in the bin folder.</p>