*/
public void update () {	checkDevice ();	/* AW	XAnyEvent event = new XAnyEvent ();	int mask = OS.ExposureMask | OS.ResizeRedirectMask |		OS.StructureNotifyMask | OS.SubstructureNotifyMask |		OS.SubstructureRedirectMask;	OS.XSync (xDisplay, false); OS.XSync (xDisplay, false);	while (OS.XCheckMaskEvent (xDisplay, mask, event)) OS.XtDispatchEvent (event);	*/	/*	int wHandle= 0;	int[] macEvent= new int[6];	while (OS.GetNextEvent((short)OS.updateMask, macEvent)) {		if (macEvent[0] == OS.updateEvt) {			wHandle= macEvent[1];			updateWindow(wHandle);		}	}	*/	/*	if (wHandle != 0) {		int port= OS.GetWindowPort(wHandle);		if (port != 0)			OS.QDFlushPortBuffer(port, 0);	}	*/}