Disable a checkbox in jtable
In my Jtable i have a column which is a boolean type. I need to disable some of the cells in this column based on a condition.
It would be gud if the color of those cell which are to be disabled is different.
In the tablemodel ,I have returned a boolean in the getColumnClass for the particular column and in the isCellEditable method retuen false for that particular column.By doing this I am not able to click on the checkbox,but I want these cells to look diffrent so that the user acn differentiate.
How it is possible?