void () { boolean enabled = myEnabled && myUseCustomAnt.isSelected(); myAnts.setEnabled(enabled); if (!enabled) myAnts.getComboBox().setSelectedItem(null); if (!enabled || myLoadingValues) return; myAntsController.resetList(AntReference.BUNDLED_ANT); }