< prev index next >

src/java.desktop/share/classes/java/awt/FontFormatException.java

Print this page

        

@@ -24,11 +24,11 @@
  */
 
 package java.awt;
 
 /**
- * Thrown by method createFont in the <code>Font</code> class to indicate
+ * Thrown by method createFont in the {@code Font} class to indicate
  * that the specified font is bad.
  *
  * @author  Parry Kejriwal
  * @see     java.awt.Font
  * @since   1.3

@@ -40,11 +40,11 @@
      */
     private static final long serialVersionUID = -4481290147811361272L;
 
     /**
      * Report a FontFormatException for the reason specified.
-     * @param reason a <code>String</code> message indicating why
+     * @param reason a {@code String} message indicating why
      *        the font is not accepted.
      */
     public FontFormatException(String reason) {
       super (reason);
     }
< prev index next >