JCheckbox in a Jtable Column
In my Table I am getting the Check box by adding the method
view plaincopy to clipboardprint?
getColumnClass()
{
returning Boolean.CLass for col no 10,11,13
for rest it is returning String.Class
} This code is in my AbstractTableModel Class
I am also setting Value in getValueAt() method{
if Col==10
then Check if Variable a == Y,
return new Boolean(True)
else
return new Boolean(false)
}
but the problem is my that check box is not getting checked after loading the Table and neither it is getting checked on clicking on the Check box please help.