TristateRenderer dcr = new TristateRenderer();
setDefaultRenderer(Boolean.class, dcr);
//setDefaultEditor( Boolean.class, new TristateEditor() );
TristateEditor dce = new TristateEditor();
dce.addCellEditorListener(new CellEditorListener() {
public void editingStopped(ChangeEvent e) {
if (e.getSource() instanceof TristateEditor) {
// update the model with the current editing value
TristateEditor editorCell = (TristateEditor) e.getSource();