< prev index next >

src/java.desktop/share/classes/java/awt/Transparency.java

Print this page

        

@@ -26,11 +26,11 @@
 package java.awt;
 
 import java.lang.annotation.Native;
 
 /**
- * The <code>Transparency</code> interface defines the common transparency
+ * The {@code Transparency} interface defines the common transparency
  * modes for implementing classes.
  */
 public interface Transparency {
 
     /**

@@ -51,11 +51,11 @@
      * alpha values between and including 0.0 and 1.0.
      */
     @Native public static final int TRANSLUCENT        = 3;
 
     /**
-     * Returns the type of this <code>Transparency</code>.
-     * @return the field type of this <code>Transparency</code>, which is
+     * Returns the type of this {@code Transparency}.
+     * @return the field type of this {@code Transparency}, which is
      *          either OPAQUE, BITMASK or TRANSLUCENT.
      */
     public int getTransparency();
 }
< prev index next >