hi guys, i have a JTable which is uneditable that is,i had overriden the isCellEditable method.but the question is ,if i press a button i should be able to insert a new row in that table. is it possible.
Actually, you can change any value at any time in the model programmatically by using the setValueAt() method. The isCellEditable() method only determines whether or not a cell value is changeable by a USER...that is, someone clicking or tabbing into the cell. This is true for adding, updating, or removing row or cell data.
Jeff Wisard<br />Sun Certified Java Programmer (Java 2)<br />Sun Certified Web Component Developer
Joined: Nov 03, 2000
hi guys, sorry for not explaining my problem clearly, actually when i press the button,i want a empty cell in the JTable and i want only that cell to be editable,so that i can write a value there. is it possible,if so how?. thanks, lavanya