sashes[i] = new Sash(this, sashOrientation);
sashes[i] = new Sash(this, sashStyle);
public void setOrientation(int orientation) {	checkWidget();	if (this.orientation == orientation) return;	if (orientation != SWT.HORIZONTAL && orientation != SWT.VERTICAL) {		SWT.error(SWT.ERROR_INVALID_ARGUMENT);	}	this.orientation = orientation;		int sashOrientation = (orientation == SWT.HORIZONTAL) ? SWT.VERTICAL : SWT.HORIZONTAL;	for (int i = 0; i < sashes.length; i++) {		sashes[i].dispose();		sashes[i] = new Sash(this, sashOrientation);		sashes[i].addListener(SWT.Selection, sashListener);	}	layout();}