< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java

Print this page

        

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

@@ -218,11 +218,11 @@
     /**
      * Populates {@code table} with mappings from {@code uiClassID} to the
      * fully qualified name of the ui class. The value for a
      * particular {@code uiClassID} is {@code
      * "javax.swing.plaf.basic.Basic + uiClassID"}. For example, the
-     * value for the {@code uiClassID} {@code TreeUI} is {@code
+     * value for the {@code uiClassID TreeUI} is {@code
      * "javax.swing.plaf.basic.BasicTreeUI"}.
      *
      * @param table the {@code UIDefaults} instance the entries are
      *        added to
      * @throws NullPointerException if {@code table} is {@code null}

@@ -1855,11 +1855,11 @@
     }
 
 
 
     /**
-     * Returns the ui that is of type <code>klass</code>, or null if
+     * Returns the ui that is of type {@code klass}, or null if
      * one can not be found.
      */
     static Object getUIOfType(ComponentUI ui, Class<?> klass) {
         if (klass.isInstance(ui)) {
             return ui;

@@ -1869,22 +1869,22 @@
 
     // ********* Auditory Cue support methods and objects *********
     // also see the "AuditoryCues" section of the defaults table
 
     /**
-     * Returns an <code>ActionMap</code> containing the audio actions
+     * Returns an {@code ActionMap} containing the audio actions
      * for this look and feel.
      * <P>
-     * The returned <code>ActionMap</code> contains <code>Actions</code> that
+     * The returned {@code ActionMap} contains {@code Actions} that
      * embody the ability to render an auditory cue. These auditory
      * cues map onto user and system activities that may be useful
      * for an end user to know about (such as a dialog box appearing).
      * <P>
      * At the appropriate time,
      * the {@code ComponentUI} is responsible for obtaining an
-     * <code>Action</code> out of the <code>ActionMap</code> and passing
-     * it to <code>playSound</code>.
+     * {@code Action} out of the {@code ActionMap} and passing
+     * it to {@code playSound}.
      * <P>
      * This method first looks up the {@code ActionMap} from the
      * defaults using the key {@code "AuditoryCues.actionMap"}.
      * <p>
      * If the value is {@code non-null}, it is returned. If the value

@@ -2041,14 +2041,14 @@
         }
     }
 
     /**
      * Utility method that loads audio bits for the specified
-     * <code>soundFile</code> filename. If this method is unable to
-     * build a viable path name from the <code>baseClass</code> and
-     * <code>soundFile</code> passed into this method, it will
-     * return <code>null</code>.
+     * {@code soundFile} filename. If this method is unable to
+     * build a viable path name from the {@code baseClass} and
+     * {@code soundFile} passed into this method, it will
+     * return {@code null}.
      *
      * @param soundFile    the name of the audio file to be retrieved
      *                     from disk
      * @return             A byte[] with audio data or null
      * @since 1.4

@@ -2107,12 +2107,12 @@
 
     /**
      * If necessary, invokes {@code actionPerformed} on
      * {@code audioAction} to play a sound.
      * The {@code actionPerformed} method is invoked if the value of
-     * the {@code "AuditoryCues.playList"} default is a {@code
-     * non-null} {@code Object[]} containing a {@code String} entry
+     * the {@code "AuditoryCues.playList"} default is a
+     * {@code non-null Object[]} containing a {@code String} entry
      * equal to the name of the {@code audioAction}.
      *
      * @param audioAction an Action that knows how to render the audio
      *                    associated with the system or user activity
      *                    that is occurring; a value of {@code null}, is
< prev index next >