< prev index next >
src/java.desktop/share/classes/sun/print/ProxyPrintGraphics.java
Print this page
@@ -52,23 +52,23 @@
public PrintJob getPrintJob() {
return printJob;
}
/**
- * Creates a new <code>Graphics</code> object that is
- * a copy of this <code>Graphics</code> object.
+ * Creates a new {@code Graphics} object that is
+ * a copy of this {@code Graphics} object.
* @return a new graphics context that is a copy of
* this graphics context.
*/
public Graphics create() {
return new ProxyPrintGraphics(getGraphics().create(), printJob);
}
/**
- * Creates a new <code>Graphics</code> object based on this
- * <code>Graphics</code> object, but with a new translation and
+ * Creates a new {@code Graphics} object based on this
+ * {@code Graphics} object, but with a new translation and
* clip area.
* Refer to
* {@link sun.print.ProxyGraphics#create(int, int, int, int)}
* for a complete description of this method.
* <p>
< prev index next >