splitPane.revalidate(); splitPane.repaint();
  protected void startDragging()  {    Component left = splitPane.getLeftComponent();    Component right = splitPane.getRightComponent();    dividerSize = divider.getDividerSize();    setLastDragLocation(-1);    if ((left != null && !left.isLightweight())        || (right != null && !right.isLightweight()))      draggingHW = true;    if (splitPane.isContinuousLayout())      nonContinuousLayoutDivider.setVisible(false);    else      {	nonContinuousLayoutDivider.setVisible(true);	nonContinuousLayoutDivider.setBounds(divider.getBounds());      }    splitPane.revalidate();    splitPane.repaint();  }