< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicGraphicsUtils.java

Print this page

        

@@ -92,11 +92,11 @@
     }
 
 
     /**
      * Returns the amount of space taken up by a border drawn by
-     * <code>drawEtchedRect()</code>
+     * {@code drawEtchedRect()}
      *
      * @return  the inset of an etched rect
      */
     public static Insets getEtchedInsets() {
         return ETCHED_INSETS;

@@ -134,11 +134,11 @@
         g.setColor(oldColor);
     }
 
     /**
      * Returns the amount of space taken up by a border drawn by
-     * <code>drawGroove()</code>
+     * {@code drawGroove()}
      *
      * @return  the inset of a groove border
      */
     public static Insets getGrooveInsets() {
         return GROOVE_INSETS;

@@ -283,16 +283,16 @@
         }
         drawStringUnderlineCharAt(g, text, index, x, y);
     }
 
     /**
-     * Draw a string with the graphics <code>g</code> at location
-     * (<code>x</code>, <code>y</code>)
-     * just like <code>g.drawString</code> would.
-     * The character at index <code>underlinedIndex</code>
-     * in text will be underlined. If <code>index</code> is beyond the
-     * bounds of <code>text</code> (including &lt; 0), nothing will be
+     * Draw a string with the graphics {@code g} at location
+     * ({@code x}, {@code y})
+     * just like {@code g.drawString} would.
+     * The character at index {@code underlinedIndex}
+     * in text will be underlined. If {@code index} is beyond the
+     * bounds of {@code text} (including &lt; 0), nothing will be
      * underlined.
      *
      * @param g Graphics to draw with
      * @param text String to draw
      * @param underlinedIndex Index of character in text to underline
< prev index next >