this.addListener(SWT.Resize, new Listener() { public void handleEvent(Event e) { layout(true); } });
public SashForm(Composite parent, int style) {	super(parent, checkStyle(style));	if ((style & SWT.VERTICAL) != 0){		orientation = SWT.VERTICAL;	}		this.addListener(SWT.Resize, new Listener() {		public void handleEvent(Event e) {			layout(true);		}	});		sashListener = new Listener() {		public void handleEvent(Event e) {			onDragSash(e);		}	};}