title: JComboBox in a JTable cell
body: <p>I have a JTable created using a model, which is based on a matrix of objects.
  For each row, I want to put in a specific column (the 5th) some information using a JComboBox. I have tried the following:</p>
  <pre><code>for(int i=0; i &lt; n ; i++) {  
      .....  
      data[i][5] = new JComboBox(aux); // aux is a Vector of elements I wanna insert  
  }  
  table.setModel(new MyTableModel()); // MyTableModel() already takes into consideration the data[][] object  
  </code></pre>
  <p>The problem is that <code>data[i][5] = new JComboBox(aux);</code> does not create a JComboBox object in that specific cell of the JTable, but pastes a code into the row. What can I do to solve this problem?</p>