< prev index next >

src/java.desktop/share/classes/javax/swing/text/PlainView.java

Print this page

        

@@ -60,16 +60,16 @@
     }
 
     /**
      * Renders a line of text, suppressing whitespace at the end
      * and expanding any tabs.  This is implemented to make calls
-     * to the methods <code>drawUnselectedText</code> and
-     * <code>drawSelectedText</code> so that the way selected and
+     * to the methods {@code drawUnselectedText} and
+     * {@code drawSelectedText} so that the way selected and
      * unselected text are rendered can be customized.
      *
      * @param lineIndex the line to draw &gt;= 0
-     * @param g the <code>Graphics</code> context
+     * @param g the {@code Graphics} context
      * @param x the starting X position &gt;= 0
      * @param y the starting Y position &gt;= 0
      * @see #drawUnselectedText
      * @see #drawSelectedText
      */

@@ -319,12 +319,12 @@
         }
     }
 
     /**
      * Should return a shape ideal for painting based on the passed in
-     * Shape <code>a</code>. This is useful if painting in a different
-     * region. The default implementation returns <code>a</code>.
+     * Shape {@code a}. This is useful if painting in a different
+     * region. The default implementation returns {@code a}.
      */
     Shape adjustPaintRegion(Shape a) {
         return a;
     }
 
< prev index next >