add a check box to only one cell in a JTable
hi,i'm trying to add a check box to one cell in my table.i know it s possible to add check boxes to a column(every row in that column will be boolean).
i just want to add check box to only one cell in a selected column.
i was wondering if i can overide
public Class getColumnClass(int columnIndex) to do this?
i was able to make some selected cells unedtable by overiding isCellEditable method;but it has input parameters for both rows and columns.therefore it was easy to dealt.
so can somone tell me how to solve my question?