src/java.desktop/share/classes/java/awt/JobAttributes.java
Print this page
@@ -296,12 +296,12 @@
*
* @param copies an integer greater than 0
* @param defaultSelection <code>DefaultSelectionType.ALL</code>,
* <code>DefaultSelectionType.RANGE</code>, or
* <code>DefaultSelectionType.SELECTION</code>
- * @param destination <code>DesintationType.FILE</code> or
- * <code>DesintationType.PRINTER</code>
+ * @param destination <code>DestinationType.FILE</code> or
+ * <code>DestinationType.PRINTER</code>
* @param dialog <code>DialogType.COMMON</code>,
* <code>DialogType.NATIVE</code>, or
* <code>DialogType.NONE</code>
* @param fileName the possibly <code>null</code> file name
* @param maxPage an integer greater than zero and greater than or equal
@@ -460,22 +460,22 @@
/**
* Specifies whether output will be to a printer or a file for jobs using
* these attributes. This attribute is updated to the value chosen by the
* user.
*
- * @return DesintationType.FILE or DesintationType.PRINTER
+ * @return DestinationType.FILE or DestinationType.PRINTER
*/
public DestinationType getDestination() {
return destination;
}
/**
* Specifies whether output will be to a printer or a file for jobs using
* these attributes. Not specifying this attribute is equivalent to
- * specifying DesintationType.PRINTER.
+ * specifying DestinationType.PRINTER.
*
- * @param destination DesintationType.FILE or DesintationType.PRINTER.
+ * @param destination DestinationType.FILE or DestinationType.PRINTER.
* @throws IllegalArgumentException if destination is null.
*/
public void setDestination(DestinationType destination) {
if (destination == null) {
throw new IllegalArgumentException("Invalid value for attribute "+