void saveImages(File parentFile) {
		if (((MDView) getView()).getFillMode() instanceof FillMode.ImageFill) {
			String url = ((FillMode.ImageFill) ((MDView) getView()).getFillMode()).getURL();
			String s = url;
			String base = FileUtilities.getCodeBase(url);
			/*
			 * if background image is set using the filechooser the URL field of the ImageFill will be set to be the real HD address of the image. If background image transfers from another model because of downloading or saving, the URL field of the ImageFill will be set to the file name of that image ONLY.
			 */
			if (base == null) {
				base = FileUtilities.getCodeBase((String) getProperty("old url"));
				if (base == null)
					base = FileUtilities.getCodeBase((String) getProperty("url"));
				s = base + url;
				saveImage(s, parentFile);
			} else {
				if (FileUtilities.isRemote(s)) {
					saveImage(s, parentFile);
				} else {
					copyFile(s, new File(parentFile, FileUtilities.getFileName(s)));
				}
			}
		}
		ImageComponent[] img = ((MDView) getView()).getImages();
		if (img.length > 0) {
			for (int i = 0; i < img.length; i++) {
				String url = img[i].toString();
				String s = url;
				String base = FileUtilities.getCodeBase(url);
				if (base == null) {
					base = FileUtilities.getCodeBase((String) getProperty("old url"));
					if (base == null)
						base = FileUtilities.getCodeBase((String) getProperty("url"));
					s = base + url;
					saveImage(s, parentFile);
				} else {
					copyFile(s, new File(parentFile, FileUtilities.getFileName(s)));
				}
			}
		}
	}