dividerLocation = validLocation(location);
dividerLocation = location;
  public void setDividerLocation(JSplitPane jc, int location)  {    dividerLocation = validLocation(location);    splitPane.revalidate();    splitPane.repaint();  }