Displaying gray image from pixels


2005-03-14 05:17:18 PM
jbuilder1
Hello all
I have color values for a grey image all <= 255. I want to
display them correctly on a panel. I do display them but
the colors don't look as they should. Does anyone know
how to display them correctly? Which classes do I need to use
(DataBuffer, ColorModel, Raster, etc) Does anyone have a sample
code for it?
Thanks in advance.
Hakan