title: how to clone a jtable
body: <p>Sirs,</p>
  
  <p>In short, my question is "how do you clone a jTable in a GUI developed in Netbeans."</p>
  
  <p>In a little more detail, I have a <code>jTabbedPane</code> that consists of two tabs - <code>myTab1</code> and <code>myTab2</code>.  Both tabs have a <code>jTable</code> that will display columns from a derby database.  Any time the data in the database is updated, I want both <code>jTables</code> to update to reflect the new information.  Essentially, the two <code>jTables</code> will show identical data in each cell, and any time a change is made to one there will be an automated change to the other.</p>
  
  <p>Obviously, I could do this long-hand.  Any time a subroutine (that changes the data in the database) is executed, I could have an <code>UpdateMyTable1()</code> and an <code>UpdateMyTable2()</code> routine to make the changes.  However, in my case the <code>UpdateMyTable1()</code> function/method/subroutine would need to be a rather lengthy one, and <code>UpdateMyTable1()</code> would consist of almost identical code to <code>UpdateMyTable2()</code>.  There would be a lot of redundant code.</p>
  
  <p>In Neatbeans, is there a way to instantiate (or otherwise create) two <code>jTables</code> in such a way that they always mirror each others contents without writing the code out long-hand?  </p>