Create a method
```
private void onPresenterRadioWidgetSelected(JRadioButton radioButton, int index) {
  boolean selected = radioButton.isSelected();
  if (selected) {
    setSelectedIndex(index);
  }
}
```
Then you can replace those 3 `actionPerformed()` with : `onPresenterRadioWidgetSelected(radioNestedPresenter, 0);`