< prev index next >

src/java.desktop/share/classes/sun/swing/plaf/synth/SynthIcon.java

Print this page

        

@@ -96,29 +96,29 @@
      */
     public abstract int getIconHeight(SynthContext context);
 
     /**
      * Paints the icon. This is a cover method for
-     * <code>paintIcon(null, g, x, y, 0, 0)</code>
+     * {@code paintIcon(null, g, x, y, 0, 0)}
      */
     public void paintIcon(Component c, Graphics g, int x, int y) {
         paintIcon(null, g, x, y, 0, 0);
     }
 
     /**
      * Returns the icon's width. This is a cover methods for
-     * <code>getIconWidth(null)</code>.
+     * {@code getIconWidth(null)}.
      *
      * @return an int specifying the fixed width of the icon.
      */
     public int getIconWidth() {
         return getIconWidth(null);
     }
 
     /**
      * Returns the icon's height. This is a cover method for
-     * <code>getIconHeight(null)</code>.
+     * {@code getIconHeight(null)}.
      *
      * @return an int specifying the fixed height of the icon.
      */
     public int getIconHeight() {
         return getIconHeight(null);
< prev index next >