void (boolean isVerticalSplit) { if (myVerticalSplitOption == isVerticalSplit) { return; } myVerticalSplitOption = isVerticalSplit; myToolbarWrapper.refresh(); mySplitter.setOrientation(!myVerticalSplitOption); myComponent.repaint(); }