title: Populate JTable with array of integers
body: <p>I have a multidimensional array of integers (<code>int[][] model = new int[9][9]</code>) and a table (<code>JTable table = new JTable(9, 9)</code>.</p>
  
  <p>How can I populate the table with the values of <code>model</code>?</p>
  
  <p>I have tried</p>
  
  <pre><code>// Populate JTable with data from model
  for (int i=0; i&lt;9; i++) {
      this.table = this.table.addRow(this.model[i]);
  }
  </code></pre>