SWT.MouseDoubleClick, SWT.MouseMove, SWT.MouseExit,
SWT.MouseExit,
public CTabFolder(Composite parent, int style) {	super(parent, checkStyle (style));		onBottom = (getStyle() & SWT.BOTTOM) != 0;		borderColor1 = new Color(getDisplay(), borderInsideRGB);	borderColor2 = new Color(getDisplay(), borderMiddleRGB);	borderColor3 = new Color(getDisplay(), borderOutsideRGB);	// tool tip support	Display display = getDisplay();	tip = new Shell (getShell(), SWT.ON_TOP);	GridLayout layout = new GridLayout();	layout.marginWidth = layout.marginHeight = 1;	tip.setLayout(layout);	Label label = new Label (tip, SWT.NONE);	label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));	label.setForeground (display.getSystemColor (SWT.COLOR_INFO_FOREGROUND));	label.setBackground (display.getSystemColor (SWT.COLOR_INFO_BACKGROUND));	tip.setBackground(label.getBackground());		// Add all listeners	Listener listener = new Listener() {		public void handleEvent(Event event) {			switch (event.type) {				case SWT.Dispose:           onDispose(); break;				case SWT.Paint:             onPaint(event);	break;				case SWT.Resize:            onResize();	break;				case SWT.MouseDoubleClick:  onMouseDoubleClick(event);	break;				case SWT.MouseDown:         onMouseDown(event);	break;				case SWT.MouseExit:         onMouseExit(event);	break;				case SWT.MouseHover:		onMouseHover(event);	break;				case SWT.MouseMove:         onMouseMove(event);	break;				case SWT.FocusIn:           onFocus(event);	break;				case SWT.FocusOut:          onFocus(event);	break;				case SWT.KeyDown:           onKeyDown(event); break;				case SWT.Traverse:          onTraverse(event); break;			}		}	};	int[] folderEvents = new int[]{		SWT.Dispose, 		SWT.MouseDown, 		SWT.MouseDoubleClick, 		SWT.MouseMove, 		SWT.MouseExit, 		SWT.MouseHover, 		SWT.Paint, 		SWT.Resize, 		SWT.FocusIn, 		SWT.FocusOut, 		SWT.KeyDown,		SWT.Traverse,	};	for (int i = 0; i < folderEvents.length; i++) {		addListener(folderEvents[i], listener);	}		createArrowBar();	createCloseBar();		setBorderVisible((style & SWT.BORDER) != 0);		initAccessible();	}