Bug 81254 ControlExample spews warnings
observed on Solaris and hpux - run the ControlExample with warnings turned on (do this in Device I think) - a scrollbar warning is spewed on each page that's shown - this is ugly when using the swt-only download since warning messages are not supressed in this context
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CanvasTab.java
/**
	 * Gets the text for the tab folder item.
	 */
	String getTabText () {
		return "Canvas";
	}
	
	/**
	 * Resizes the maximum and thumb of both scrollbars.
	 */
	void resizeScrollBars () {
		Rectangle clientArea = canvas.getClientArea();
		ScrollBar bar = canvas.getHorizontalBar();
		if (bar != null) {
			bar.setMaximum(maxX);
			bar.setThumb(clientArea.width);
			bar.setPageIncrement(clientArea.width);
		}
		bar = canvas.getVerticalBar();
		if (bar != null) {
			bar.setMaximum(maxY);
			bar.setThumb(clientArea.height);
			bar.setPageIncrement(clientArea.height);
		}
	}
	/**
	 * Scrolls the canvas horizontally.
	 * 
	 * @param scrollBar
	 */