This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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 13 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...