int controlY = y + getControlOffset(newHeight); control.setBounds( x + MINIMUM_WIDTH, controlY, newWidth - MINIMUM_WIDTH - MARGIN_WIDTH, control.getSize().y);
int controlWidth = Math.max (1, newWidth - MINIMUM_WIDTH - MARGIN_WIDTH); int controlHeight = Math.max (MINIMUM_CHILD_HEIGHT, height - MARGIN_HEIGHT); control.setBounds (x + MINIMUM_WIDTH, y + MARGIN_HEIGHT, controlWidth, controlHeight);
void setBounds (int x, int y, int width, int height) {	/*	* Feature in Motif.  Motif will not allow a window	* to have a zero width or zero height.  The fix is	* to ensure these values are never zero.	*/	int newWidth = Math.max (width, 1), newHeight = Math.max (height, 1);	OS.XtConfigureWidget (handle, x, y, newWidth, newHeight, 0);	if (control != null) {		int controlY = y + getControlOffset(newHeight);		control.setBounds(			x + MINIMUM_WIDTH, 			controlY, 			newWidth - MINIMUM_WIDTH - MARGIN_WIDTH, 			control.getSize().y);	}}