JComponent () { createSearchTextField(100); myCardPanel = new MultiPanel() { @Override public void addNotify() { super.addNotify(); EventHandler.addGlobalAction(mySearchTextField, new CustomShortcutSet(KeyStroke.getKeyStroke("meta alt F")), () -> IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown( () -> IdeFocusManager.getGlobalInstance().requestFocus(mySearchTextField, true))); } @Override protected JComponent create(Integer key) { if (key == 0) { return createPluginsPanel(mySelectionListener); } if (key == 1) { return mySearchPanel.createVScrollPane(); } return super.create(key); } }; JPanel listPanel = new JPanel(new BorderLayout()); listPanel.add(mySearchTextField, BorderLayout.NORTH); listPanel.add(myCardPanel); OnePixelSplitter splitter = new OnePixelSplitter(false, 0.45f) { @Override protected Divider createDivider() { Divider divider = super.createDivider(); divider.setBackground(PluginManagerConfigurable.SEARCH_FIELD_BORDER_COLOR); return divider; } }; splitter.setFirstComponent(listPanel); splitter.setSecondComponent(myDetailsPage = createDetailsPanel(mySearchListener)); mySearchPanel = createSearchPanel(mySelectionListener); myCardPanel.select(0, true); return splitter; }