char [] buffer = new char [size [0]];
char [] buffer = new char [size [0] / 2];
public void paste () {	checkWidget ();	if ((style & SWT.READ_ONLY) != 0) return;	int[] scrap = new int [1];	OS.GetCurrentScrap (scrap);	int [] size = new int [1];	if (OS.GetScrapFlavorSize (scrap [0], OS.kScrapFlavorTypeUnicode, size) != OS.noErr || size [0] == 0) return;	char [] buffer = new char [size [0]];	if (OS.GetScrapFlavorData (scrap [0], OS.kScrapFlavorTypeUnicode, size, buffer) != OS.noErr) return;	short [] selection = new short [2];	if (OS.GetControlData (textHandle, (short)OS.kControlEntireControl, OS.kControlEditTextSelectionTag, 4, selection, null) != OS.noErr) return;	setText (new String (buffer), selection [0], selection [1], true);}