In a JTable,when entering values in a row,the Enter key has to be pressed so that JTable recognizes the values in the row.Is there any other method to do the above one without using the Enter key?

Sandip Chitale

Sure..you can implement the custom Celleditor. You may end the editing using any criterion and commit the changes by calling stopCellEditing() method.

See http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/CellEditor.html#stopCellEditing()

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact