title: How can I generate a new panel based on where my JTable is double-clicked?
body: <p>I need help implementing the following behavior: when a user double-clicks on a row in the <code>JTable</code> on <code>JPanel</code> A &#8212; code snippet for this shown below &#8212; the program should redirect the user to <code>JPanel</code> B. B should contain some data about whatever was on the <code>JTable</code>'s row.</p>
  
  <pre><code>private void TableMouseClicked(java.awt.event.MouseEvent evt) {
  if(evt.getClickCount() == 2){
     System.out.println("Double click");
  }
  }
  </code></pre>