void (MouseEvent e) { InternalDecoratorImpl decorator = InternalDecoratorImpl.Companion.findTopLevelDecorator(myComponent); if (decorator == null || decorator.isHeaderVisible()) return; ToolWindow window = ToolWindowManager.getInstance(myProject).getToolWindow(decorator.getToolWindowId()); ToolWindowAnchor anchor = window != null ? window.getAnchor() : null; if (anchor == ToolWindowAnchor.BOTTOM && SwingUtilities.isLeftMouseButton(e) && myPressPoint != null) { ThreeComponentsSplitter splitter = ComponentUtil.getParentOfType(ThreeComponentsSplitter.class, myComponent); if (splitter != null && splitter.getOrientation() && SwingUtilities.isDescendingFrom(getComponent(), splitter.getLastComponent())) { int size = splitter.getLastSize(); int yDiff = myPressPoint.y - e.getPoint().y; splitter.setLastSize(size + yDiff); } } }