Please suggest if it's already been asked, haven't found any yet.
I have a JTable whose rows contain multiple columns of CheckBoxes. I want to group the checkboxes in each row like with JRadioButton, so that if I check a checkbox, all other checkbox in its row are unchecked. How do I implement that?
Where should I add that to my table model?
AbstractTableModel atm= new AbstractTableModel() {
.....
@Override
public Object getValueAt(int row, int column) {
....
}
@Override
public void setValueAt(Object newVal, int row, int col) {
....
}
}