/** @param verticalSplit <code>true</code> means that splitter will have vertical split */
 public void setOrientation(boolean verticalSplit) {
   myVerticalSplit = verticalSplit;
   myFirstDivider.setOrientation(verticalSplit);
   myLastDivider.setOrientation(verticalSplit);
   doLayout();
   repaint();
 }
 public void setDividerWidth(int width) {
   if (width < 0) {
     throw new IllegalArgumentException("Wrong divider width: " + width);
   }
   if (myDividerWidth != width) {
     myDividerWidth = width;
     doLayout();
     repaint();
   }
 }
 public void setLastSize(final int size) {
   myLastSize = size;
   doLayout();
   repaint();
 }