void () { boolean isLabelRenderer = myRbExpressionLabel.isSelected(); myLabelEditor.setEnabled(isLabelRenderer); myOnDemandCheckBox.setEnabled(isLabelRenderer); final boolean isChildrenExpression = myRbExpressionChildrenRenderer.isSelected(); myChildrenExpandedEditor.setEnabled(isChildrenExpression); myExpandedLabel.setEnabled(isChildrenExpression); myChildrenEditor.setEnabled(isChildrenExpression); boolean isListChildren = myRbListChildrenRenderer.isSelected(); myTable.setEnabled(isListChildren); myAppendDefaultChildren.setEnabled(isListChildren); }