I have JTable and couple of Cells as rows ( only 1 column ) that have Textboxes
On Double Clicking a particular Cell , user can edit the cell
But i have a separate Edit button part of application for editing the cells
since there is no “startCellEditing” method on getting getCellEditor (only stopCellEditing is there )
if i call editCellAt(row,column) method (on clicking the edit button ) its removing the existing content and user has to enter the entire content again .
how do i get this behavior ? Inshort , instead of user double clicking the cell to edit , he clicks on a edit button , how do achieve same behavior ?
this code do not clears cell content on button click