JComponent () { myTabbedPane = new TabbedPaneWrapper(this); myTabbedPane.getComponent().setFocusTraversalPolicyProvider(false); for (ModuleConfigurationEditor editor : myEditors) { myTabbedPane.addTab(editor.getDisplayName(), editor.createComponent()); editor.reset(); } restoreSelectedEditor(); myTabbedPane.addChangeListener(new javax.swing.event.ChangeListener() { @Override public void stateChanged(ChangeEvent e) { saveSelectedEditor(); if (myHistory != null) { myHistory.pushQueryPlace(); } } }); return myTabbedPane.getComponent(); }