Splitter (boolean vertically, @NotNull JComponent firstComponent, @NotNull JComponent secondComponent) { Splitter splitter = new OnePixelSplitter(vertically, 0.5f, 0.1f, 0.9f); splitter.setDividerWidth(JBUI.scale(1)); EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme(); Color color = scheme.getColor(CodeInsightColors.METHOD_SEPARATORS_COLOR); if (color != null) { splitter.getDivider().setBackground(color); } splitter.setFirstComponent(firstComponent); splitter.setSecondComponent(secondComponent); return splitter; }