void (ActionEvent e) { int[] rows = myTable.getSelectedRows(); if (rows.length == 0) return; for (int row : rows) { int modelRow = myTable.convertRowIndexToModel(row); RegistryValue rv = myModel.getRegistryValue(modelRow); if (rv.isBoolean()) { setValue(rv, !rv.asBoolean()); keyChanged(rv.getKey()); myModel.fireTableCellUpdated(modelRow, 0); myModel.fireTableCellUpdated(modelRow, 1); } } invalidateActions(); }