< prev index next >

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

Print this page

        

@@ -126,16 +126,16 @@
     }
 
     /**
      * Sets the current setting of the number of zones
      * allowed to be loaded at the same time. This will throw an
-     * <code>IllegalArgumentException</code> if <code>mzl</code> is less
+     * {@code IllegalArgumentException} if {@code mzl} is less
      * than 1.
      *
      * @param mzl the desired maximum number of zones
      *  to be actively loaded, must be greater than 0
-     * @exception IllegalArgumentException if <code>mzl</code> is &lt; 1
+     * @exception IllegalArgumentException if {@code mzl} is &lt; 1
      */
     public void setMaxZonesLoaded(int mzl) {
         if (mzl < 1) {
             throw new IllegalArgumentException("ZoneView.setMaxZonesLoaded must be greater than 0.");
         }

@@ -226,11 +226,11 @@
         return zone;
     }
 
     /**
      * Loads all of the children to initialize the view.
-     * This is called by the <code>setParent</code> method.
+     * This is called by the {@code setParent} method.
      * This is reimplemented to not load any children directly
      * (as they are created by the zones).  This method creates
      * the initial set of zones.  Zones don't actually get
      * populated however until an attempt is made to display
      * them or to do model/view coordinate translation.
< prev index next >