checkDevice();  return new Rectangle(0, 0, 600, 800);
return null;
public Rectangle getBounds() {	checkDevice();	/* AW	XRectangle rect = new XRectangle();	short [] width = new short [1];	short [] height = new short [1];	OS.XpGetPageDimensions(xDisplay, printContext, width, height, rect);	return new Rectangle(0, 0, width[0], height[0]);	*/	return new Rectangle(0, 0, 600, 800);}