int [] argList3 = {OS.XmNbackground, 0}; OS.XtGetValues (handle, argList3, argList3.length / 2); OS.XtSetValues (formHandle, argList3, argList3.length / 2);
void createHandle (int index) {	state |= HANDLE;	int parentHandle = parent.handle;	int borderWidth = (style & SWT.BORDER) != 0 ? 1 : 0;	if ((style & SWT.SEPARATOR) != 0) {		int separatorType = separatorType ();		int orientation = (style & SWT.HORIZONTAL) != 0 ? OS.XmHORIZONTAL : OS.XmVERTICAL;		int [] argList = {			OS.XmNancestorSensitive, 1,			OS.XmNborderWidth, borderWidth,			OS.XmNorientation, orientation,			OS.XmNseparatorType, separatorType,		};		handle = OS.XmCreateSeparator (parentHandle, null, argList, argList.length / 2);		if (handle == 0) error (SWT.ERROR_NO_HANDLES);		return;	}	int [] argList1 = {		OS.XmNancestorSensitive, 1,		OS.XmNmarginWidth, 0,		OS.XmNmarginHeight, 0, 		OS.XmNresizePolicy, OS.XmRESIZE_NONE,		OS.XmNborderWidth, borderWidth,	};	formHandle = OS.XmCreateForm (parentHandle, null, argList1, argList1.length / 2);	if (formHandle == 0) error (SWT.ERROR_NO_HANDLES);	int alignment = OS.XmALIGNMENT_BEGINNING;	if ((style & SWT.CENTER) != 0) alignment = OS.XmALIGNMENT_CENTER;	if ((style & SWT.RIGHT) != 0) alignment = OS.XmALIGNMENT_END;	int [] argList2 = {		OS.XmNalignment, alignment,		OS.XmNtopAttachment, OS.XmATTACH_FORM,		OS.XmNleftAttachment, OS.XmATTACH_FORM,		OS.XmNrightAttachment, OS.XmATTACH_FORM,	};	/*	* Bug in Motif.  The widget will not receive mouse events, if the	* label string is empty.  The fix is to initialize it to a space.	*/	byte [] buffer = {(byte) ' ', 0};	handle = OS.XmCreateLabel (formHandle, buffer, argList2, argList2.length / 2);	if (handle == 0) error (SWT.ERROR_NO_HANDLES);}