JComponent () { JPanel panel = new JPanel(new BorderLayout(UIUtil.DEFAULT_HGAP, UIUtil.DEFAULT_VGAP)); final JLabel label = new JLabel(RefactoringBundle.message("moveInstanceMethod.select.an.instance.parameter")); panel.add(label, BorderLayout.NORTH); panel.add(createListAndVisibilityPanels(), BorderLayout.CENTER); return panel; }