OS.XtInsertEventHandler (argList[1], OS.FocusChangeMask, false, windowProc, SWT.FocusIn, OS.XtListTail);
void hookEvents () {	super.hookEvents ();	int windowProc = getDisplay ().windowProc;	OS.XtAddCallback (handle, OS.XmNselectionCallback, windowProc, SWT.Selection);	int [] argList = {OS.XmNtextField, 0};	OS.XtGetValues (handle, argList, argList.length / 2);	OS.XtAddCallback (argList[1], OS.XmNactivateCallback, windowProc, SWT.DefaultSelection);	OS.XtAddCallback (argList[1], OS.XmNvalueChangedCallback, windowProc, SWT.Modify);	OS.XtAddEventHandler (argList[1], OS.KeyPressMask, false, windowProc, SWT.KeyDown);	OS.XtAddEventHandler (argList[1], OS.KeyReleaseMask, false, windowProc, SWT.KeyUp);}