super.setLayout(new CBannerLayout());
public CBanner(Composite parent, int style) {	super(parent, checkStyle(style));	resizeCursor = new Cursor(getDisplay(), SWT.CURSOR_SIZEWE);		Listener listener = new Listener() {		public void handleEvent(Event e) {			switch (e.type) {				case SWT.Dispose:					onDispose(); break;				case SWT.MouseDown:					onMouseDown (e.x, e.y); break;				case SWT.MouseExit:					onMouseExit(); break;				case SWT.MouseMove:					onMouseMove(e.x, e.y); break;				case SWT.MouseUp:					onMouseUp(); break;				case SWT.Paint:					onPaint(e.gc); break;				case SWT.Resize:					onResize(); break;			}		}	};	int[] events = new int[] {SWT.Dispose, SWT.MouseDown, SWT.MouseExit, SWT.MouseMove, SWT.MouseUp, SWT.Paint, SWT.Resize};	for (int i = 0; i < events.length; i++) {		addListener(events[i], listener);	}}