How can we keep a jCheckbox, in a jTable, cell selection color the same as the row selection color?
posted 1 year ago
I have started using jTables with jCheckboxes, and have the situation wherein when I click on the checkbox in a JTable, and hold the mouse down, the selected colour of the checkbox cell becomes white. How can we keep the selection colour of the cell the same as the row selection colour. Any help would be greatly appreciated. Please find attached a cut down compilable piece of code. Im trying to make this piece of code work so that when a cell checkbox is clicked the row selection colour doesn't change.