There is a Jpanel that opens when running from eclipse and after exporting as executable jar it won't open
<p>I'm creating a game called lines of Actions and I facing a problem here when exporting to executable jar file</p>

<p><img src="http://i.stack.imgur.com/U9C01.png" alt="http://s21.postimg.org/rk1jef9wn/Untitled.png"></p>

<p>When I press the Button "Two Players" this Panel should be shown</p>

<p><img src="http://i.stack.imgur.com/kpAAv.png" alt="http://s21.postimg.org/dvcclaz8n/Untitled.png"></p>

<p>and it does show when I run it from eclipse but it doesn't when I run the executable jar file</p>

<p>Note: the images are in the images source folder
and I'm using this method to get an image:</p>

<pre><code>private ImageIcon image(String s) {
    return new ImageIcon(getClass().getClassLoader().getResource(s));
}
</code></pre>

<p>and when creating a Jlable :</p>

<pre><code>new Jlabel(image("example.png"));
</code></pre>

<p>while the project is like this:</p>

<p><img src="http://i.stack.imgur.com/PrAYb.png" alt="http://s14.postimg.org/lkuqvzut9/Untitled.png"></p>
