void (ItemEvent e) { myModuleSelection.setEnabled(myModuleScope.isSelected()); myDirectory.setEnabled(myDirectoryScope.isSelected()); myRecursive.setEnabled(myDirectoryScope.isSelected()); myCustomScopeSelection.setEnabled(myCustomScope.isSelected()); if (e.getStateChange() == ItemEvent.SELECTED) { firePropertyChange("scope", null, getSelectedScope()); } }