< prev index next >

src/java.desktop/share/classes/sun/swing/PrintingStatus.java

Print this page

        

@@ -88,15 +88,15 @@
     };
 
     /**
      * Creates PrintingStatus instance
      *
-     * @param parent a <code>Component</code> object to be used
+     * @param parent a {@code Component} object to be used
      *               as parent component for PrintingStatus dialog
-     * @param job    a <code>PrinterJob</code> object to be cancelled
-     *               using this <code>PrintingStatus</code> dialog
-     * @return a <code>PrintingStatus</code> object
+     * @param job    a {@code PrinterJob} object to be cancelled
+     *               using this {@code PrintingStatus} dialog
+     * @return a {@code PrintingStatus} object
      */
     public static PrintingStatus
             createPrintingStatus(Component parent, PrinterJob job) {
         return new PrintingStatus(parent, job);
     }

@@ -159,14 +159,14 @@
     }
 
     /**
      * Shows PrintingStatus dialog.
      * if dialog is modal this method returns only
-     * after <code>dispose()</code> was called otherwise returns immediately
+     * after {@code dispose()} was called otherwise returns immediately
      *
-     * @param isModal <code>true</code> this dialog should be modal;
-     *                <code>false</code> otherwise.
+     * @param isModal {@code true} this dialog should be modal;
+     *                {@code false} otherwise.
      * @see #dispose
      */
     public void showModal(final boolean isModal) {
         if (SwingUtilities.isEventDispatchThread()) {
             showModalOnEDT(isModal);

@@ -249,11 +249,11 @@
      * printed in this PrintingStatus
      *
      * @param printable to be used to create notification printable
      * @return printable which is used to track the current page being
      *         printed in this PrintingStatus
-     * @throws NullPointerException if <code>printable</code> is <code>null</code>
+     * @throws NullPointerException if {@code printable} is {@code null}
      */
     public Printable createNotificationPrintable(Printable printable) {
         return new NotificationPrintable(printable);
     }
 
< prev index next >