Hi Hasnain,
One thing you could do is to set the
method in the
return false.
This will return false by default. I am not sure what TableModel you are using. Usually you have a class that extends the AbstractTableModel and you pass this object to the JTable constructor.
If you are using
for data model then you have to explicitly override the method
to return false bcos it returns true for any value of (row,col).Or you could use the
for data model if you want the cell to be not editable.
-Cheers,
Suman