Popular Posts
jQuery Validation Engine default options Create web service client cross SSL with eclipse When creating web service cross SSL using eclipse, it occuss some error like below: And it can't build the client source from this wa... Screen capture import java.awt.AWTException; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import j...
Stats
Programmingly end cell edit mode of jtable
// The following code saves the current value in the cell being edited
// and stops the editing process:
if (table.getCellEditor() != null) {
    table.getCellEditor().stopCellEditing();
}
// The following code discards any changes made by the user and stops
// the editing process:
if (table.getCellEditor() != null) {
    table.getCellEditor().cancelCellEditing();
}