int [] argList4 = {OS.XmNforeground, 0, OS.XmNbackground, 0}; OS.XtGetValues (handle, argList4, argList4.length / 2); OS.XtSetValues (labelHandle, argList4, argList4.length / 2);
void createHandle (int index) {	state |= HANDLE;		/*	* Feature in Motif.  When a widget is managed or unmanaged,	* it may request and be granted, a new size in the OS.  This	* behavior is unwanted.  The fix is to create a parent for	* the list that will disallow geometry requests.	*/	int border = (style & SWT.BORDER) != 0 ? 1 : 0;	int [] argList1 = {		OS.XmNancestorSensitive, 1,		OS.XmNborderWidth, border,	};	int parentHandle = parent.handle;	formHandle = OS.XmCreateForm (parentHandle, null, argList1, argList1.length / 2);	if (formHandle == 0) error (SWT.ERROR_NO_HANDLES);	int [] argList2 = {		OS.XmNshadowType, shadowType (),		OS.XmNtopAttachment, OS.XmATTACH_FORM,		OS.XmNbottomAttachment, OS.XmATTACH_FORM,		OS.XmNleftAttachment, OS.XmATTACH_FORM,		OS.XmNrightAttachment, OS.XmATTACH_FORM,		OS.XmNresizable, 0,	};	handle = OS.XmCreateFrame (formHandle, null, argList2, argList2.length / 2);	if (handle == 0) error (SWT.ERROR_NO_HANDLES);	int [] argList3 = {OS.XmNframeChildType, OS.XmFRAME_TITLE_CHILD};	labelHandle = OS.XmCreateLabel (handle, null, argList3, argList3.length / 2);	if (labelHandle == 0) error (SWT.ERROR_NO_HANDLES);}