int value = layoutManager.getInitialLocation(jc.getInsets()); if (layoutManager.components[0] != null) value += layoutManager.minimumSizeOfComponent(0);
int value = layoutManager.getInitialLocation(jc.getInsets()) - layoutManager.getAvailableSize(jc.getSize(), jc.getInsets()) + splitPane.getDividerSize(); if (layoutManager.components[1] != null) value += layoutManager.minimumSizeOfComponent(1);
  public int getMinimumDividerLocation(JSplitPane jc)  {    int value = layoutManager.getInitialLocation(jc.getInsets());    if (layoutManager.components[0] != null)      value += layoutManager.minimumSizeOfComponent(0);    return value;  }