void () { String oldName = myGroup.getName(); String newName = myNameTextField.getText(); if (!oldName.equals(newName)) { myGroup.setName(newName); notifyListeners(new ChangeEvent(myGroup)); if (myGroup.isBound()) { BindingProperty.updateBoundFieldName(myRootContainer, oldName, newName, ButtonGroup.class.getName()); } } }