JComponent () { TabbedPaneWrapper tabbedPaneWrapper = new TabbedPaneWrapper(myDisposable); tabbedPaneWrapper.addTab(EditorBundle.message("print.settings.tab"), createPrintSettingsPanel()); tabbedPaneWrapper.addTab(EditorBundle.message("print.header.footer.tab"), createHeaderAndFooterPanel()); tabbedPaneWrapper.addTab(EditorBundle.message("print.advanced.tab"), createAdvancedPanel()); return tabbedPaneWrapper.getComponent(); }