JComponent () { myTabbedPane = new JBTabbedPane(); myTabbedPane.add(myUserTab.createComponent(), message("dialog.edit.http.proxies.settings.tab.edit.user.file.title")); myTabbedPane.add(mySystemTab.createComponent(), message("dialog.edit.http.proxies.settings.tab.edit.system.file.title")); myPanel.add(myTabbedPane, BorderLayout.NORTH); return myPanel; }