< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.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 Steve Wilson
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -112,12 +112,12 @@
         scrollPane.removePropertyChangeListener(scrollBarSwapListener);
     }
 
     /**
      * If the border of the scrollpane is an instance of
-     * <code>MetalBorders.ScrollPaneBorder</code>, the client property
-     * <code>FREE_STANDING_PROP</code> of the scrollbars
+     * {@code MetalBorders.ScrollPaneBorder}, the client property
+     * {@code FREE_STANDING_PROP} of the scrollbars
      * is set to false, otherwise it is set to true.
      */
     private void updateScrollbarsFreeStanding() {
         if (scrollpane == null) {
             return;
< prev index next >