rowHead = scrollPane.getRowHeader(); colHead = scrollPane.getColumnHeader();
  public void syncWithScrollPane(JScrollPane scrollPane) {    viewport = scrollPane.getViewport();    vsb = scrollPane.getVerticalScrollBar();    hsb = scrollPane.getHorizontalScrollBar();    vsbPolicy = scrollPane.getVerticalScrollBarPolicy();    hsbPolicy = scrollPane.getHorizontalScrollBarPolicy();    lowerLeft = scrollPane.getCorner(LOWER_LEFT_CORNER);    lowerRight = scrollPane.getCorner(LOWER_RIGHT_CORNER);    upperLeft = scrollPane.getCorner(UPPER_LEFT_CORNER);    upperRight = scrollPane.getCorner(UPPER_RIGHT_CORNER);      }