JComponent (Project project) { final JPanel panel = new JPanel(new BorderLayout(2, 2)); panel.add(getHeaderPanel(project, GetterTemplatesManager.getInstance(), JavaBundle.message("generate.getter.template")), BorderLayout.NORTH); panel.add(getHeaderPanel(project, SetterTemplatesManager.getInstance(), JavaBundle.message("generate.setter.template")), BorderLayout.SOUTH); return panel; }