title: How to clear contents of a jTable ?
body: <p>I have a jTable and it's got a table model defined like this:</p>
  
  <pre><code>javax.swing.table.TableModel dataModel = 
       new javax.swing.table.DefaultTableModel(data, columns);
  tblCompounds.setModel(dataModel);
  </code></pre>
  
  <p>Does anyone know how I can clear its contents ? Just so it returns to an empty table ? </p>