short[] bounds= new short[4]; OS.GetControlBounds(topHandle, bounds);
MacRect br= new MacRect(); short[] bounds= br.getData(); internalGetControlBounds(topHandle, br);
public void setSize (int width, int height) {	checkWidget();    /*	int [] argList = {OS.XmNwidth, 0, OS.XmNheight, 0, OS.XmNborderWidth, 0};	OS.XtGetValues (topHandle, argList, argList.length / 2);	int newWidth = Math.max (width - (argList [5] * 2), 1);	int newHeight = Math.max (height - (argList [5] * 2), 1);	boolean sameExtent = (newWidth == argList [1]) && (newHeight == argList [3]);	OS.XtResizeWidget (topHandle, newWidth, newHeight, argList [5]);	*/	int topHandle = topHandle ();	width = Math.max(width, 0);	height = Math.max(height, 0);	short[] bounds= new short[4];	OS.GetControlBounds(topHandle, bounds);	boolean sameExtent = (bounds[3]-bounds[1]) == width && (bounds[2]-bounds[0]) == height;	if (sameExtent) return;		internalSetBounds(topHandle, bounds, bounds[1], bounds[0], width, height, true);	sendEvent (SWT.Resize);}