private void createOrientationCombo(PrintRequestAttributeSet set) {
		OrientationRequested[] orientations = (OrientationRequested[]) mService.getSupportedAttributeValues(OrientationRequested.class, DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);
		if (orientations != null && orientations.length > 0) {
			HashSet<OrientationRequested> possible = new HashSet<>();
			for (OrientationRequested one : orientations) {
				possible.add(one);
			}
			ArrayList<PageOrientation> choices = new ArrayList<>();
			for (PageOrientation orientation : PageOrientation.values()) {
				if (possible.contains(orientation.getOrientationRequested())) {
					choices.add(orientation);
				}
			}
			mOrientation = new JComboBox<>(choices.toArray(new PageOrientation[0]));
			mOrientation.setSelectedItem(PrintUtilities.getPageOrientation(mService, set));
			UIUtilities.setOnlySize(mOrientation, mOrientation.getPreferredSize());
			LinkedLabel label = new LinkedLabel(ORIENTATION, mOrientation);
			add(label, new PrecisionLayoutData().setEndHorizontalAlignment());
			add(mOrientation);
		} else {
			mOrientation = null;
		}
	}