treeColumn.setToolTipText(ControlExample.getResourceString("Tooltip") + columnTitles[i]);
treeColumn.setToolTipText(ControlExample.getResourceString("Tooltip", new String [] {columnTitles[i]}));
	void createExampleWidgets () {		/* Compute the widget style */		int style = getDefaultStyle();		if (singleButton.getSelection()) style |= SWT.SINGLE;		if (multiButton.getSelection()) style |= SWT.MULTI;		if (checkButton.getSelection()) style |= SWT.CHECK;		if (fullSelectionButton.getSelection ()) style |= SWT.FULL_SELECTION;		if (borderButton.getSelection()) style |= SWT.BORDER;			/* Create the text tree */		tree1 = new Tree (treeGroup, style);		boolean multiColumn = multipleColumns.getSelection();		if (multiColumn) {			for (int i = 0; i < columnTitles.length; i++) {				TreeColumn treeColumn = new TreeColumn(tree1, SWT.NONE);				treeColumn.setText(columnTitles[i]);				treeColumn.setToolTipText(ControlExample.getResourceString("Tooltip", new String [] {columnTitles[i]}));			}			tree1.setSortColumn(tree1.getColumn(0));		}		for (int i = 0; i < 4; i++) {			TreeItem item = new TreeItem (tree1, SWT.NONE);			setItemText(item, i, ControlExample.getResourceString("Node_" + (i + 1)));			if (i < 3) {				TreeItem subitem = new TreeItem (item, SWT.NONE);				setItemText(subitem, i, ControlExample.getResourceString("Node_" + (i + 1) + "_1"));			}		}		TreeItem treeRoots[] = tree1.getItems ();		TreeItem item = new TreeItem (treeRoots[1], SWT.NONE);		setItemText(item, 1, ControlExample.getResourceString("Node_2_2"));		item = new TreeItem (item, SWT.NONE);		setItemText(item, 1, ControlExample.getResourceString("Node_2_2_1"));							textNode1 = treeRoots[0];		packColumns(tree1);		/* Create the image tree */			tree2 = new Tree (imageTreeGroup, style);		Image image = instance.images[ControlExample.ciClosedFolder];		if (multiColumn) {			for (int i = 0; i < columnTitles.length; i++) {				TreeColumn treeColumn = new TreeColumn(tree2, SWT.NONE);				treeColumn.setText(columnTitles[i]);				treeColumn.setToolTipText(ControlExample.getResourceString("Tooltip") + columnTitles[i]);				if (headerImagesButton.getSelection()) treeColumn.setImage(image);			}		}		for (int i = 0; i < 4; i++) {			item = new TreeItem (tree2, SWT.NONE);			setItemText(item, i, ControlExample.getResourceString("Node_" + (i + 1)));			if (multiColumn && subImagesButton.getSelection()) {				for (int j = 0; j < columnTitles.length; j++) {					item.setImage(j, image);				}			} else {				item.setImage(image);			}			if (i < 3) {				TreeItem subitem = new TreeItem (item, SWT.NONE);				setItemText(subitem, i, ControlExample.getResourceString("Node_" + (i + 1) + "_1"));				if (multiColumn && subImagesButton.getSelection()) {					for (int j = 0; j < columnTitles.length; j++) {						subitem.setImage(j, image);					}				} else {					subitem.setImage(image);				}			}		}		treeRoots = tree2.getItems ();		item = new TreeItem (treeRoots[1], SWT.NONE);		setItemText(item, 1, ControlExample.getResourceString("Node_2_2"));		if (multiColumn && subImagesButton.getSelection()) {			for (int j = 0; j < columnTitles.length; j++) {				item.setImage(j, image);			}		} else {			item.setImage(image);		}		item = new TreeItem (item, SWT.NONE);		setItemText(item, 1, ControlExample.getResourceString("Node_2_2_1"));		if (multiColumn && subImagesButton.getSelection()) {			for (int j = 0; j < columnTitles.length; j++) {				item.setImage(j, image);			}		} else {			item.setImage(image);		}		imageNode1 = treeRoots[0];		packColumns(tree2);				setColumnsMoveable();	}