< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/metal/MetalSliderUI.java

Print this page

        

@@ -43,11 +43,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 Tom Santos
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -91,20 +91,20 @@
      */
     protected static int tickLength;
     private int safeLength;
 
    /**
-    * A default horizontal thumb <code>Icon</code>. This field might not be
-    * used. To change the <code>Icon</code> used by this delegate directly set it
-    * using the <code>Slider.horizontalThumbIcon</code> UIManager property.
+    * A default horizontal thumb {@code Icon}. This field might not be
+    * used. To change the {@code Icon} used by this delegate directly set it
+    * using the {@code Slider.horizontalThumbIcon} UIManager property.
     */
     protected static Icon horizThumbIcon;
 
    /**
-    * A default vertical thumb <code>Icon</code>. This field might not be
-    * used. To change the <code>Icon</code> used by this delegate directly set it
-    * using the <code>Slider.verticalThumbIcon</code> UIManager property.
+    * A default vertical thumb {@code Icon}. This field might not be
+    * used. To change the {@code Icon} used by this delegate directly set it
+    * using the {@code Slider.verticalThumbIcon} UIManager property.
     */
     protected static Icon vertThumbIcon;
 
     private static Icon SAFE_HORIZ_THUMB_ICON;
     private static Icon SAFE_VERT_THUMB_ICON;
< prev index next >