private void createResolutionCombo(PrintRequestAttributeSet set) {
		PrinterResolution[] resolutions = (PrinterResolution[]) mService.getSupportedAttributeValues(PrinterResolution.class, DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);
		if (resolutions != null && resolutions.length > 0) {
			PrinterResolution current = PrintUtilities.getResolution(mService, set, true);
			WrappedPrinterResolution[] wrappers = new WrappedPrinterResolution[resolutions.length];
			int selection = 0;
			for (int i = 0; i < resolutions.length; i++) {
				wrappers[i] = new WrappedPrinterResolution(generateResolutionTitle(resolutions[i]), resolutions[i]);
				if (resolutions[i] == current) {
					selection = i;
				}
			}
			mResolution = new JComboBox<>(wrappers);
			mResolution.setSelectedIndex(selection);
			UIUtilities.setOnlySize(mResolution, mResolution.getPreferredSize());
			LinkedLabel label = new LinkedLabel(RESOLUTION, mResolution);
			add(label, new PrecisionLayoutData().setEndHorizontalAlignment());
			add(mResolution);
		} else {
			mResolution = null;
		}
	}