JPanel () { JPanel findWhatPanel = new JPanel(); findWhatPanel.setLayout(new BoxLayout(findWhatPanel, BoxLayout.Y_AXIS)); myCbUsages = addCheckboxToPanel(JavaBundle.message("find.what.usages.checkbox"), myFindUsagesOptions.isUsages, findWhatPanel, true); //final ThrowSearchUtil.Root[] searchRoots = ThrowSearchUtil.getSearchRoots(getPsiElement ()); //final PsiThrowStatement throwStatement = (PsiThrowStatement)getPsiElement(); //final boolean exactExnType = ThrowSearchUtil.isExactExnType(throwStatement.getException ()); //if (exactExnType) { // myCbStrict.setEnabled(false); //} myHasFindWhatPanel = true; return findWhatPanel; }