private static boolean isWindowInScreenBounds(Point location, Point size) {

		Point myLocation = new Point(location);

		if (!isLocationInScreenBounds(myLocation)) {
			return false;
		}

		myLocation.translate(size.x, 0);
		if (!isLocationInScreenBounds(myLocation)) {
			return false;
		}

		myLocation.translate(0, size.y);
		if (!isLocationInScreenBounds(myLocation)) {
			return false;
		}

		myLocation.translate(-size.x, 0);
		if (!isLocationInScreenBounds(myLocation)) {
			return false;
		}

		return true;

	}