-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
beta
-
generic
-
generic
Name: pkC79091 Date: 11/26/98
The following methods of java.awt.image.Raster class do
accept a null instead of the DataBuffer parameter , but this is not
mentioned in the javadoc comments.
protected Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
protected Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
Raster parent)
public static Raster createRaster(SampleModel sm,
DataBuffer db,
Point location)
public static WritableRaster createWritableRaster(SampleModel sm,
DataBuffer db,
Point location)
======================================================================