void () { final EvalFormPanel form = getForm(); if (form.getNewTabCheckbox().isEnabled()) { FindSettings.getInstance().setShowResultsInSeparateView(form.getNewTabCheckbox().isSelected()); } mySettings.HIGHLIGHT_RESULTS = form.getHighlightCheckbox().isSelected(); mySettings.SHOW_USAGE_VIEW = form.getUsageViewCheckbox().isSelected(); super.doOKAction(); }