style |= SWT.NO_REDRAW_RESIZE | SWT.NO_BACKGROUND; return style;
style |= SWT.NO_REDRAW_RESIZE;   String platform = SWT.getPlatform(); if ("carbon".equals(platform) || "gtk".equals(platform)) return style; return style | SWT.NO_BACKGROUND;
static int checkStyle (int style) {	int mask = SWT.CLOSE | SWT.TOP | SWT.BOTTOM | SWT.FLAT | SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT | SWT.SINGLE | SWT.MULTI;	style = style & mask;	// TOP and BOTTOM are mutually exlusive.	// TOP is the default	if ((style & SWT.TOP) != 0) 		style = style & ~(SWT.TOP | SWT.BOTTOM) | SWT.TOP;	// SINGLE and MULTI are mutually exlusive.	// MULTI is the default	if ((style & SWT.MULTI) != 0) 		style = style & ~(SWT.SINGLE | SWT.MULTI) | SWT.MULTI;	// reduce the flash by not redrawing the entire area on a Resize event	style |= SWT.NO_REDRAW_RESIZE | SWT.NO_BACKGROUND;	return style;}