< prev index next >

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

Print this page

        

@@ -39,11 +39,11 @@
  * the other end of a selection called mark.  If there is
  * no selection the dot and mark will be equal.  If a selection
  * exists, the two values will be different.
  * <p>
  * The dot can be placed by either calling
- * <code>setDot</code> or <code>moveDot</code>.  Setting
+ * {@code setDot} or {@code moveDot}.  Setting
  * the dot has the effect of removing any selection that may
  * have previously existed.  The dot and mark will be equal.
  * Moving the dot has the effect of creating a selection as
  * the mark is left at whatever position it previously had.
  *
< prev index next >