posted 21 years ago
i have a JTable which has two Columns
one is SubjectCode and the other is Subject Description
i want the SubjectDescription column in the
Table not to be edited
but i will be editing SubjectCode Column
i have used a DefaultTableModel in this
how i can make one column alone not
being edited
public boolean isCellEditing(row,1)
{
return true;
}
is this code will do
any help will be handy