jdk/src/share/classes/java/awt/GraphicsConfiguration.java
changeset 2648 aa45a227fce3
parent 2451 597df8e1d786
child 2808 a139a919f645
equal deleted inserted replaced
2647:ea80a312972e 2648:aa45a227fce3
   438     /**
   438     /**
   439      * Returns whether this GraphicsConfiguration supports
   439      * Returns whether this GraphicsConfiguration supports
   440      * the {@link GraphicsDevice.WindowTranslucency#PERPIXEL_TRANSLUCENT
   440      * the {@link GraphicsDevice.WindowTranslucency#PERPIXEL_TRANSLUCENT
   441      * PERPIXEL_TRANSLUCENT} kind of translucency.
   441      * PERPIXEL_TRANSLUCENT} kind of translucency.
   442      *
   442      *
   443      * @param gc GraphicsConfiguration
       
   444      * @throws NullPointerException if the gc argument is null
       
   445      * @return whether the given GraphicsConfiguration supports
   443      * @return whether the given GraphicsConfiguration supports
   446      *         the translucency effects.
   444      *         the translucency effects.
       
   445      *
   447      * @see Window#setBackground(Color)
   446      * @see Window#setBackground(Color)
   448      */
   447      *
   449     /*public */boolean isTranslucencyCapable() {
   448      * @since 1.7
       
   449      */
       
   450     public boolean isTranslucencyCapable() {
   450         // Overridden in subclasses
   451         // Overridden in subclasses
   451         return false;
   452         return false;
   452     }
   453     }
   453 }
   454 }