Popular Posts
javax.net.ssl.SSLHandshakeException: Connection closed by peer in Android 5.0 Lollipop Recently, there is a error occurs when access website via ssl connection like below although it worked fine several days ago. // Enable SSL... Build an OpenVPN server on android device Preparation An android device, in this case, Sony xperia Z is used Root permission required Linux Deploy for deploy i... Enable SSL connection for Jsoup import org.jsoup.Connection; import org.jsoup.Jsoup; import javax.net.ssl.*; import java.io.IOException; import java.security.KeyManagement...
Stats
Programmingly end cell edit mode of jtable
  1. // The following code saves the current value in the cell being edited
  2. // and stops the editing process:
  3. if (table.getCellEditor() != null) {
  4.     table.getCellEditor().stopCellEditing();
  5. }
  6. // The following code discards any changes made by the user and stops
  7. // the editing process:
  8. if (table.getCellEditor() != null) {
  9.     table.getCellEditor().cancelCellEditing();
  10. }