code: public void setExtent( Window win ) {
          w = win.getWest();
          e = win.getEast();
          n = win.getNorth();
          s = win.getSouth();
          rows = win.getRows();
          cols = win.getCols();
          fixResolution();
          fixRowsAndCols();
      }
docs: Sets the extent of this window using another window.
  
  @param win another window object