title: Need a helping hand organizing an array
body: <p>I am making JTables in Java, and have accounted an annoying problem.</p>
  
  <pre><code>    public Object[][] noName(String[] col) {
       final Object[][] obj = new Object[col.length][];       
       for (int i = 0; i &lt; col.length; i++) obj[i] = createColumnList(col[i]);
       return obj;
      }
  </code></pre>
  
  <p>I am creating an Object[][] to match the JTable, but with this way the sorting is coming out all wrong...</p>
  
  <p>This is how this ends:</p>
  
  <pre><code>COL1     COL1
  COL2     COL2
  </code></pre>
  
  <p>This is how I want it to be:</p>
  
  <pre><code>COL1     COL2
  COL1     COL2
  </code></pre>
  
  <p>Where COL1 and COL2 is an array, which comes from <code>createColumnList(col[i])</code>
  What do I do?</p>