OS.XtGetValues (scrolledHandle, argList, argList.length / 2); int trimWidth = trimWidth (), trimHeight = trimHeight (); oldX = root_x [0] - trimWidth; oldY = root_y [0] - trimHeight; oldWidth = argList [1];  oldHeight = argList [3];
OS.XtGetValues (shellHandle, argList, argList.length / 2); oldX = root_x [0]; oldY = root_y [0]; oldWidth = argList [1]; oldHeight = argList [3];
void saveBounds () {	short [] root_x = new short [1], root_y = new short [1];	OS.XtTranslateCoords (scrolledHandle, (short) 0, (short) 0, root_x, root_y);	if (reparented) {		root_x [0] -= trimLeftInset ();		root_y [0] -= trimTopInset ();	}	int [] argList = {OS.XmNwidth, 0, OS.XmNheight, 0};	OS.XtGetValues (scrolledHandle, argList, argList.length / 2);	int trimWidth = trimWidth (), trimHeight = trimHeight ();	oldX = root_x [0] - trimWidth; oldY = root_y [0] - trimHeight;	oldWidth = argList [1];  oldHeight = argList [3];}