< prev index next >
src/java.desktop/share/classes/java/awt/ComponentOrientation.java
Print this page
@@ -70,12 +70,12 @@
* <li>RT - Middle East (Arabic, Hebrew)
* <li>TR - Japanese, Chinese, Korean
* <li>TL - Mongolian
* </ul>
* Components whose view and controller code depends on orientation
- * should use the <code>isLeftToRight()</code> and
- * <code>isHorizontal()</code> methods to
+ * should use the {@code isLeftToRight()} and
+ * {@code isHorizontal()} methods to
* determine their behavior. They should not include switch-like
* code that keys off of the constants, such as:
* <pre>
* if (orientation == LEFT_TO_RIGHT) {
* ...
< prev index next >