private void moveDividerTo(int locationIndex)
void moveDividerTo(int locationIndex)
  private void moveDividerTo(int locationIndex)  {    Insets insets = splitPane.getInsets();    switch (locationIndex)      {      case 1:	splitPane.setDividerLocation(splitPane.getLastDividerLocation());	break;      case 0:	int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left	                                                       : insets.top;	splitPane.setDividerLocation(top);	break;      case 2:	int bottom;	if (orientation == JSplitPane.HORIZONTAL_SPLIT)	  bottom = splitPane.getBounds().width - insets.right - dividerSize;	else	  bottom = splitPane.getBounds().height - insets.bottom - dividerSize;	splitPane.setDividerLocation(bottom);	break;      }  }