private void createPrintQualityCombo(PrintRequestAttributeSet set) {
		PrintQuality[] qualities = (PrintQuality[]) mService.getSupportedAttributeValues(PrintQuality.class, DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);
		if (qualities != null && qualities.length > 0) {
			HashSet<PrintQuality> possible = new HashSet<>();
			for (PrintQuality one : qualities) {
				possible.add(one);
			}
			ArrayList<Quality> choices = new ArrayList<>();
			for (Quality quality : Quality.values()) {
				if (possible.contains(quality.getPrintQuality())) {
					choices.add(quality);
				}
			}
			mPrintQuality = new JComboBox<>(choices.toArray(new Quality[0]));
			mPrintQuality.setSelectedItem(PrintUtilities.getPrintQuality(mService, set, true));
			UIUtilities.setOnlySize(mPrintQuality, mPrintQuality.getPreferredSize());
			LinkedLabel label = new LinkedLabel(QUALITY, mPrintQuality);
			add(label, new PrecisionLayoutData().setEndHorizontalAlignment());
			add(mPrintQuality);
		} else {
			mPrintQuality = null;
		}
	}