if (splitPane.getBorder() instanceof UIResource)
  protected void uninstallDefaults()  {    layoutManager = null;    splitPane.remove(divider);    divider = null;    nonContinuousLayoutDivider = null;    splitPane.setBackground(null);    splitPane.setBorder(null);  }