final void setDimensions(int wo, int ho, int w, int h) {
	if (wo < 0)
	    wo = 0;
	if (ho < 0)
	    ho = 0;
	if (w > ((SoftwareToolkit) this).maxWidth)
	    w = ((SoftwareToolkit) this).maxWidth;
	if (h > maxHeight)
	    h = maxHeight;
	((SoftwareToolkit) this).widthOffset = wo;
	((SoftwareToolkit) this).width = w;
	((SoftwareToolkit) this).heightOffset = ho;
	((SoftwareToolkit) this).height = h;
	method3713();
    }