< prev index next >

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

Print this page

        

@@ -37,11 +37,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 Michael C. Albers
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -61,11 +61,11 @@
     }
 
     /**
      * Draws a bit of special highlighting on the progress bar.
      * The core painting is deferred to the BasicProgressBar's
-     * <code>paintDeterminate</code> method.
+     * {@code paintDeterminate} method.
      * @since 1.4
      */
     public void paintDeterminate(Graphics g, JComponent c) {
         super.paintDeterminate(g,c);
 

@@ -141,11 +141,11 @@
 
     /**
      * Draws a bit of special highlighting on the progress bar
      * and bouncing box.
      * The core painting is deferred to the BasicProgressBar's
-     * <code>paintIndeterminate</code> method.
+     * {@code paintIndeterminate} method.
      * @since 1.4
      */
     public void paintIndeterminate(Graphics g, JComponent c) {
         super.paintIndeterminate(g, c);
 
< prev index next >