Project won't stop running on NetBeans
<p>I started writing a small program to learn a bit more about java and try to design my layouts by hand without always using NetBeans.</p>

<p>Thing is, when I run my project and close it, it won't stop running in NetBeans, so everytime I re-run it creates another run. By searching and looking at another GUI I had created using NetBeans I thought adding the </p>

<pre><code>    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
</code></pre>

<p>would do the trick, but I guess I am wrong.</p>

<p>Can someone please explain me what I should do? </p>

<p>Here is a SSCCE of my programa: <a href="http://pastebin.com/QhKpwdDw" rel="nofollow">http://pastebin.com/QhKpwdDw</a></p>

<p>Thank you very much in advance!</p>
