for (int i=0; i<items.length; i++) { if (items [i] == null) error (SWT.ERROR_INVALID_ARGUMENT); }
public void setItems (String [] items) {	checkWidget();	if (items == null) error (SWT.ERROR_NULL_ARGUMENT);	OS.RemoveDataBrowserItems (handle, OS.kDataBrowserNoItem, 0, null, 0);	if (OS.AddDataBrowserItems(handle, OS.kDataBrowserNoItem, items.length, null, OS.kDataBrowserItemNoProperty) != OS.noErr) {		error (SWT.ERROR_ITEM_NOT_ADDED);	}	this.items = new String [items.length];	System.arraycopy (items, 0, this.items, 0, items.length);	itemCount = items.length;}