Uneditable « JTable « Java Swing Q&A





1. How to make a JTable uneditable ???    coderanch.com

2. how to make a jtable uneditable?    coderanch.com

3. Making JTable uneditable    coderanch.com

Thank you for the advice! I figured out what to do. I made a class MyTableModel which extends DefaultTableModel and I did an override of the isCellEditable method, making it return false every time. When I started this whole business of trying to make the cells uneditable, I thought there should be some kind of method called setUneditable(int row, int column) ...