public void updateButtonActionPerformed(){
  if (!checkConsistency()) {
    return;
  }
  setNodeParameters();
  changedNode=true;
  editMode=false;
  curNode=null;
  addButton.setVisible(true);
  editButton.setVisible(true);
  deleteButton.setVisible(true);
  doneButton.setVisible(true);
  updateButton.setVisible(false);
  cancelButton.setVisible(false);
  statusText2.setText(stdStatus2);
  statusText3.setText(stdStatus3);
  statusText1.setText(Bundle.getMessage("FeedBackUpdate") + " " + readNodeAddress());
  errorInStatus1=true;
}

public void updateButtonActionPerformed ( ) { if ( ! checkConsistency ( ) ) { return ; } setNodeParameters ( ) ; changedNode = true ; editMode = false ; curNode = null ; addButton . setVisible ( true ) ; editButton . setVisible ( true ) ; deleteButton . setVisible ( true ) ; doneButton . setVisible ( true ) ; updateButton . setVisible ( false ) ; cancelButton . setVisible ( false ) ; statusText2 . setText ( stdStatus2 ) ; statusText3 . setText ( stdStatus3 ) ; statusText1 . setText ( Bundle . getMessage ( "FeedBackUpdate" ) + " " + readNodeAddress ( ) ) ; errorInStatus1 = true ; }
method to handle update button
