SWT.error(SWT.ERROR_THREAD_INVALID_ACCESS);
DND.error(SWT.ERROR_THREAD_INVALID_ACCESS);
public Clipboard(Display display) {		checkSubclass ();	if (display == null) {		display = Display.getCurrent();		if (display == null) {			display = Display.getDefault();		}	}	if (display.getThread() != Thread.currentThread()) {		SWT.error(SWT.ERROR_THREAD_INVALID_ACCESS);	}	this.display = display;	TCHAR chFormatName = new TCHAR(0, "Preferred DropEffect", true); //$NON-NLS-1$	CFSTR_PREFERREDDROPEFFECT = COM.RegisterClipboardFormat(chFormatName);	createCOMInterfaces();	this.AddRef();}