title: Jtable with different types of cells depending on data type
body: <p>How can I implement a JTable with different types of cell editors depending on the type of input a particular row is displaying?</p>
  
  <p>For example</p>
  
  <ul>
  <li>some rows could be checkboxes (for boolean types)  </li>
  <li>some rows could be comboboxes (if I want to provide a fixed set of options to choose from)  </li>
  <li>some rows could be text fields (if I allow arbitrary data).</li>
  </ul>
  
  <p>Currently I have implemented the <code>AbstractTableModel</code>, which takes a set of custom field objects from my object and adds rows to the table. I would like to further customize my table by setting specific types of cells. I can determine which cell type to use based on the type of field that row contains.</p>
  
  <p>The table model is dynamically created at run-time.</p>