< prev index next >

src/java.desktop/share/classes/javax/swing/ProgressMonitor.java

Print this page

        

@@ -463,23 +463,23 @@
     /////////////////
     // Accessibility support
     ////////////////
 
     /**
-     * The <code>AccessibleContext</code> for the <code>ProgressMonitor</code>
+     * The {@code AccessibleContext} for the {@code ProgressMonitor}
      * @since 1.5
      */
     protected AccessibleContext accessibleContext = null;
 
     private AccessibleContext accessibleJOptionPane = null;
 
     /**
-     * Gets the <code>AccessibleContext</code> for the
-     * <code>ProgressMonitor</code>
+     * Gets the {@code AccessibleContext} for the
+     * {@code ProgressMonitor}
      *
-     * @return the <code>AccessibleContext</code> for the
-     * <code>ProgressMonitor</code>
+     * @return the {@code AccessibleContext} for the
+     * {@code ProgressMonitor}
      * @since 1.5
      */
     public AccessibleContext getAccessibleContext() {
         if (accessibleContext == null) {
             accessibleContext = new AccessibleProgressMonitor();

@@ -497,12 +497,12 @@
         }
         return accessibleContext;
     }
 
     /**
-     * <code>AccessibleProgressMonitor</code> implements accessibility
-     * support for the <code>ProgressMonitor</code> class.
+     * {@code AccessibleProgressMonitor} implements accessibility
+     * support for the {@code ProgressMonitor} class.
      * @since 1.5
      */
     protected class AccessibleProgressMonitor extends AccessibleContext
         implements AccessibleText, ChangeListener, PropertyChangeListener {
 

@@ -568,11 +568,11 @@
         }
 
         /**
          * Invoked when the target of the listener has changed its state.
          *
-         * @param e  a <code>ChangeEvent</code> object. Must not be null.
+         * @param e  a {@code ChangeEvent} object. Must not be null.
          * @throws NullPointerException if the parameter is null.
          */
         public void stateChanged(ChangeEvent e) {
             if (e == null) {
                 return;

@@ -588,11 +588,11 @@
         }
 
         /**
          * This method gets called when a bound property is changed.
          *
-         * @param e A <code>PropertyChangeEvent</code> object describing
+         * @param e A {@code PropertyChangeEvent} object describing
          * the event source and the property that has changed. Must not be null.
          * @throws NullPointerException if the parameter is null.
          */
         public void propertyChange(PropertyChangeEvent e) {
             if (e.getSource() == noteLabel && e.getPropertyName() == "text") {
< prev index next >