JComponent () { myInspectTestSource.setText(CodeInsightBundle.message("scope.option.include.test.sources")); myInspectTestSource.setSelected(myOptions.ANALYZE_TEST_SOURCES); myInspectTestSource.setVisible(myShowInspectTestSource); myAnalyzeInjectedCode.setText(CodeInsightBundle.message("scope.option.analyze.injected.code")); myAnalyzeInjectedCode.setSelected(myOptions.ANALYZE_INJECTED_CODE); myAnalyzeInjectedCode.setVisible(false); JPanel panel = new BaseAnalysisActionDialogUI().panel(myScopeTitle, myViewItems, myInspectTestSource, myAnalyzeInjectedCode, radioButtons, myDisposable, getAdditionalActionSettings(myProject)); preselectButton(); RadioUpDownListener.installOn(radioButtons.toArray(new JRadioButton[0])); panel.setPreferredSize(panel.getMinimumSize()); return panel; }