Available in the LEADTOOLS Imaging toolkit.
PaintGamma example for Visual J++
This example increases the gamma correction for painting images.
LEAD1.setPaintGamma( (short) ( LEAD1.getPaintGamma() + 100 ) ); LEAD1.ForceRepaint();