Available in the LEADTOOLS Imaging toolkit.
Contrast example for Visual J++
This example increases the contrast and repaints the image.
LEAD1.Contrast( (short) 50 ); LEAD1.ForceRepaint();