JComponent () { OnePixelSplitter splitter = new OnePixelSplitter(false, 0.45f) { @Override protected Divider createDivider() { Divider divider = super.createDivider(); divider.setBackground(PluginManagerConfigurable.SEARCH_FIELD_BORDER_COLOR); return divider; } }; myGroup.ui.panel.getParent().remove(myGroup.ui.panel); myGroup.ui.panel.setPreferredSize(new Dimension()); JPanel leftPanel = new JPanel(new BorderLayout()); leftPanel.add(PluginManagerConfigurable.createScrollPane(myPluginsPanel, true)); OpaquePanel titlePanel = new OpaquePanel(new BorderLayout(), PluginManagerConfigurable.MAIN_BG_COLOR); titlePanel.setBorder(JBUI.Borders.empty(13, 12)); leftPanel.add(titlePanel, BorderLayout.SOUTH); myTotalLabel.setForeground(PluginsGroupComponent.SECTION_HEADER_FOREGROUND); titlePanel.add(myTotalLabel); splitter.setFirstComponent(leftPanel); splitter.setSecondComponent(myDetailsPage); return splitter; }