int style = getStyle(); if ((style & SWT.READ_ONLY) != 0) text.setText ("");
if (!text.getEditable()) text.setText ("");
public void setItems (String [] items) {	checkWidget();	if (items == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	int style = getStyle();	if ((style & SWT.READ_ONLY) != 0) text.setText (""); //$NON-NLS-1$	list.setItems (items);}