< prev index next >

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

Print this page

        

@@ -53,11 +53,11 @@
     private static final Object METAL_BUMPS = new Object();
     protected BumpBuffer buffer;
 
     /**
      * Creates MetalBumps of the specified size with the specified colors.
-     * If <code>newBackColor</code> is null, the background will be
+     * If {@code newBackColor} is null, the background will be
      * transparent.
      */
     public MetalBumps( int width, int height,
                        Color newTopColor, Color newShadowColor, Color newBackColor ) {
         setBumpArea( width, height );

@@ -178,11 +178,11 @@
                backColor.equals( aBackColor );
     }
 
     /**
      * Returns the Image containing the bumps appropriate for the passed in
-     * <code>GraphicsConfiguration</code>.
+     * {@code GraphicsConfiguration}.
      */
     public Image getImage() {
         return image;
     }
 

@@ -213,11 +213,11 @@
         g.dispose();
     }
 
     /**
      * Creates the image appropriate for the passed in
-     * <code>GraphicsConfiguration</code>, which may be null.
+     * {@code GraphicsConfiguration}, which may be null.
      */
     private void createImage() {
         if (gc != null) {
             image = gc.createCompatibleImage(IMAGE_SIZE, IMAGE_SIZE,
                        (backColor != MetalBumps.ALPHA) ? Transparency.OPAQUE :
< prev index next >