Hello, Could you please tell me is there a possible way of stop editting of a JTable cell. I mean the user can't do any thing to the cell. I mean can't type delete etc anything. If it is possible please tell me how do this. Thanks inadvance..
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
posted 14 years ago
Hi Ransika, If you have written your own table model, you will need to make sure that you override the isCellEditable method and always return false, like so...