Hi Narayanan, What do you mean by lock... diallow editing or disallow moving? If it is disallow editing, you could override the isCellEditable method of your table model in such a way that it returns false only for that column:
Hi Abhik, When scrolling table columns to the right, I want to lock the 1st column in the table, so that user can see the first column always, even when they scroll the other columns. Thanks
Hi Narayanan, It appears that you haven't yet discovered Tamemusa's Swing examples (Look for the "Fixed Column" example at the bottom of that Web page!) Hope it helps. Good Luck, Avi.
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad: