< prev index next >

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

Print this page

        

@@ -144,11 +144,11 @@
         { "AWT.MoveCursor", "Move Cursor" },
     };
 
     /**
      * The chosen cursor type initially set to
-     * the <code>DEFAULT_CURSOR</code>.
+     * the {@code DEFAULT_CURSOR}.
      *
      * @serial
      * @see #getType()
      */
     int type = DEFAULT_CURSOR;

@@ -281,11 +281,11 @@
      * specified name.  Cursor names are, for example: "Invalid.16x16"
      *
      * @param name a string describing the desired system-specific custom cursor
      * @return the system specific custom cursor named
      * @exception HeadlessException if
-     * <code>GraphicsEnvironment.isHeadless</code> returns true
+     * {@code GraphicsEnvironment.isHeadless} returns true
      * @exception AWTException in case of erroneous retrieving of the cursor
      */
     public static Cursor getSystemCustomCursor(final String name)
         throws AWTException, HeadlessException {
         GraphicsEnvironment.checkHeadless();
< prev index next >