< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java

Print this page

        

@@ -23,18 +23,18 @@
  * questions.
  */
 
 /*
  * <p>These classes are designed to be used while the
- * corresponding <code>LookAndFeel</code> class has been installed
+ * corresponding {@code LookAndFeel} class has been installed
  * (<code>UIManager.setLookAndFeel(new <i>XXX</i>LookAndFeel())</code>).
- * Using them while a different <code>LookAndFeel</code> is installed
+ * Using them while a different {@code LookAndFeel} is installed
  * may produce unexpected results, including exceptions.
- * Additionally, changing the <code>LookAndFeel</code>
- * maintained by the <code>UIManager</code> without updating the
- * corresponding <code>ComponentUI</code> of any
- * <code>JComponent</code>s may also produce unexpected results,
+ * Additionally, changing the {@code LookAndFeel}
+ * maintained by the {@code UIManager} without updating the
+ * corresponding {@code ComponentUI} of any
+ * {@code JComponent}s may also produce unexpected results,
  * such as the wrong colors showing up, and is generally not
  * encouraged.
  *
  */
 

@@ -1932,11 +1932,11 @@
     }
 
     /**
      * <p>
      * Invoked when the user attempts an invalid operation,
-     * such as pasting into an uneditable <code>JTextField</code>
+     * such as pasting into an uneditable {@code JTextField}
      * that has focus.
      * </p>
      * <p>
      * If the user has enabled visual error indication on
      * the desktop, this method will flash the caption bar

@@ -1946,11 +1946,11 @@
      * </p>
      *
      * @param component Component the error occurred in, may be
      *                  null indicating the error condition is
      *                  not directly associated with a
-     *                  <code>Component</code>.
+     *                  {@code Component}.
      *
      * @see javax.swing.LookAndFeel#provideErrorFeedback
      */
      public void provideErrorFeedback(Component component) {
          super.provideErrorFeedback(component);

@@ -1969,22 +1969,22 @@
     }
 
     // ********* Auditory Cue support methods and objects *********
 
     /**
-     * Returns an <code>Action</code>.
+     * Returns an {@code Action}.
      * <P>
      * This Action contains the information and logic to render an
-     * auditory cue. The <code>Object</code> that is passed to this
+     * auditory cue. The {@code Object} that is passed to this
      * method contains the information needed to render the auditory
-     * cue. Normally, this <code>Object</code> is a <code>String</code>
-     * that points to a <code>Toolkit</code> <code>desktopProperty</code>.
-     * This <code>desktopProperty</code> is resolved by AWT and the
+     * cue. Normally, this {@code Object} is a {@code String}
+     * that points to a {@code Toolkit desktopProperty}.
+     * This {@code desktopProperty} is resolved by AWT and the
      * Windows OS.
      * <P>
-     * This <code>Action</code>'s <code>actionPerformed</code> method
-     * is fired by the <code>playSound</code> method.
+     * This {@code Action}'s {@code actionPerformed} method
+     * is fired by the {@code playSound} method.
      *
      * @return      an Action which knows how to render the auditory
      *              cue for one particular system or user activity
      * @see #playSound(Action)
      * @since 1.4

@@ -2016,12 +2016,12 @@
 
     /**
      * Pass the name String to the super constructor. This is used
      * later to identify the Action and decide whether to play it or
      * not. Store the resource String. It is used to get the audio
-     * resource. In this case, the resource is a <code>Runnable</code>
-     * supplied by <code>Toolkit</code>. This <code>Runnable</code> is
+     * resource. In this case, the resource is a {@code Runnable}
+     * supplied by {@code Toolkit}. This {@code Runnable} is
      * effectively a pointer down into the Win32 OS that knows how to
      * play the right sound.
      *
      * @since 1.4
      */

@@ -2048,11 +2048,11 @@
             }
         }
     }
 
     /**
-     * Gets an <code>Icon</code> from the native libraries if available,
+     * Gets an {@code Icon} from the native libraries if available,
      * otherwise gets it from an image resource file.
      */
     private static class LazyWindowsIcon implements UIDefaults.LazyValue {
         private String nativeImage;
         private String resource;

@@ -2075,11 +2075,11 @@
         }
     }
 
 
     /**
-     * Gets an <code>Icon</code> from the native libraries if available.
+     * Gets an {@code Icon} from the native libraries if available.
      * A desktop property is used to trigger reloading the icon when needed.
      */
     private class ActiveWindowsIcon implements UIDefaults.ActiveValue {
         private Icon icon;
         private String nativeImageName;
< prev index next >