screenHeight = getHeight(); screenWidth = getWidth();
screenHeight = PConstants.BROWSER_SIDE; screenWidth = PConstants.BROWSER_SIDE;
	private void arrangeDisplay(Collection datasets) {		// initialize and find clear out the layer		layer.removeAllChildren();		if (datasets == null) {			return;		}		// calculate the total area, adding nodes to the layer		// as we go.				totalArea = 0;		Iterator iter = datasets.iterator();				while (iter.hasNext()) {			BrowserDatasetSummary d = (BrowserDatasetSummary) iter.next();			double area = getArea(d);			totalArea += area;		}						screenHeight = getHeight();		screenWidth = getWidth();		screenArea = screenHeight*screenWidth;		// scale the width and height by the total area				scaleFactor = Math.sqrt(screenArea/totalArea);		screenHeight /= scaleFactor;		screenWidth /= scaleFactor;		// build the treemap.		strips = doTreeMap(datasets);	}