< prev index next >

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

Print this page

        

@@ -44,11 +44,11 @@
  * Serialized objects of this class will not be compatible with
  * future Swing releases. The current serialization support is
  * appropriate for short term storage or RMI between applications running
  * the same version of Swing.  As of 1.4, support for long term storage
  * of all JavaBeans&trade;
- * has been added to the <code>java.beans</code> package.
+ * has been added to the {@code java.beans} package.
  * Please see {@link java.beans.XMLEncoder}.
  *
  * @author  Timothy Prinzing
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -181,11 +181,11 @@
 
         /**
          * Fetch the constraining span to flow against for
          * the given child index.  There is no limit for
          * a field since it scrolls, so this is implemented to
-         * return <code>Integer.MAX_VALUE</code>.
+         * return {@code Integer.MAX_VALUE}.
          */
         public int getFlowSpan(int index) {
             return Integer.MAX_VALUE;
         }
 
< prev index next >