title: Running Multiple Threads Freezing Java
body: <p>I need to instantiate a class on a separate thread from my first one, I found <a href="https://stackoverflow.com/questions/11321005/instantiating-a-class-then-using-it-in-another-thread">this</a>, which works, using it like this:</p>
  <pre><code>private class PongThread extends Thread {
  
      public void run() {
          new Pong(WINDOW);
      }
  }
  </code></pre>
  <p>And instantiating like this:</p>
  <pre><code>new PongThread().start();
  </code></pre>
  <p>The problem is that if I try to instantiate it twice, then the program just stops responding. So how do I do this so that I can make a new <code>PongThread</code> as many times as I want?</p>
  <p><strong>EDIT:</strong></p>
  <p>My Pong class is a LWJGL Display running with a while loop and the <code>sync(FPS)</code> method:</p>
  <pre><code>while(isRunning) {
  
      //Logic and rendering method calls, etc.
  
      Display.update();
      Display.sync(30);
  }
  </code></pre>
  <p><strong>EDIT #2:</strong></p>
  <p>My pong class contains and uses private classes (I don't know if that might affect it)</p>