JComponent () { Pair<JPanel,JCheckBox> pair = MavenDisablePanelCheckbox.createPanel(myPanel.createComponent(), MavenProjectBundle.message("label.use.project.settings")); myUseProjectSettings = pair.second; return pair.first; }