title: adding pictures to .JAR file
body: <p>I tried to add 3 pictures to my program, but when i add pictures, created .jar file cannot start.</p>
  
  <p>When I try clean and build without pictures the .jar file works well.</p>
  
  <p>The pictures path: <code>D:\Desktop\Password\src\resources</code> </p>
  
  <pre><code>final public ImageIcon picture = new ImageIcon(getClass().getResource("./resources/picture.png"));
  final public ImageIcon picture1 = new ImageIcon(getClass().getResource("./resources/picture1.jpg"));
  final public ImageIcon picture2  = new ImageIcon(getClass().getResource("./resources/picture2.jpg"));
  </code></pre>
  
  <p>From Netbeans the icons are visible, and a program works correctly.</p>
  
  <p>What did I do wrong?</p>