Module java.desktop
Package javax.swing

Class GrayFilter

java.lang.Object
All Implemented Interfaces:
ImageConsumer, Cloneable

public class GrayFilter extends RGBImageFilter
An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image. Used by buttons to create an image for a disabled button.
Since:
1.2