setDefaultEditor(Boolean.class, new DefaultCellEditor(box));
box.setBorder(BorderFactory.createLineBorder(getGridColor(), 2)); box.setBorderPainted(true); booleanInvertingEditor = new DefaultCellEditor(box); setDefaultEditor(Boolean.class, booleanInvertingEditor);
  protected void createDefaultEditors()  {    JCheckBox box = new BooleanCellRenderer().getCheckBox();    setDefaultEditor(Boolean.class, new DefaultCellEditor(box));  }