java program freezes when calling another program in same jar
<p>I just wanted to add space invaders as an easter egg to a program I made.
I found an open source code <a href="http://www.cokeandcode.com/info/tut2d.html" rel="nofollow">Here</a></p>

<p>The game runs fine on its own. However when I try to run it from a button in my program it makes my program and that game freeze. I just took his source code and added it to mine, so it is in the same jar file.</p>

<p>I tried 2 ways to start it.</p>

<pre><code>java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {         
                Game.main(null);
                }
        });           
        }
</code></pre>

<p>and </p>

<p>plain old <code>Game.main(null);</code></p>

<p>Should I be starting this some other way?</p>
