void () { setupComponents(); myPanel.setLayout(new EditorMergedHorizontalScrollBarLayout(myScrollBar, myHistoryViewer, myConsoleExecutionEditor.getEditor(), isHistoryViewerForceAdditionalColumnsUsage(), getMinHistoryLineCount())); myPanel.add(myHistoryViewer.getComponent()); myPanel.add(myConsoleExecutionEditor.getComponent()); myPanel.add(myScrollBar); myPanel.setBackground(JBColor.lazy(() -> myConsoleExecutionEditor.getEditor().getBackgroundColor())); DataManager.registerDataProvider(myPanel, this); }