replace.setEnabled(replaceEnabled && stringReplace.isSelected()); replaceScript.setEnabled(replaceEnabled && beanShellReplace.isSelected());
	private void updateEnabled()	{		boolean replaceEnabled = !hyperSearch.isSelected();		replace.setEnabled(replaceEnabled			&& stringReplace.isSelected());		replaceScript.setEnabled(replaceEnabled			&& beanShellReplace.isSelected());		stringReplace.setEnabled(replaceEnabled);		beanShellReplace.setEnabled(replaceEnabled);		replaceBtn.setEnabled(replaceEnabled);		replaceAndFindBtn.setEnabled(replaceEnabled);		replaceAllBtn.setEnabled(replaceEnabled);		wrap.setEnabled(replaceEnabled);		boolean reverseEnabled = replaceEnabled			&& searchCurrentBuffer.isSelected();		searchBack.setEnabled(reverseEnabled);		searchForward.setEnabled(reverseEnabled);		boolean regexpEnabled = (hyperSearch.isSelected()			|| !(searchBack.isEnabled() && searchBack.isSelected()));		regexp.setEnabled(regexpEnabled);		filter.setEnabled(searchAllBuffers.isSelected()			|| searchDirectory.isSelected());		boolean directoryEnabled = searchDirectory.isSelected();		directory.setEnabled(directoryEnabled);		choose.setEnabled(directoryEnabled);		searchSubDirectories.setEnabled(directoryEnabled);	}