Oilify example for Visual J++

This example applies an oil-painting effect and repaints the image. The progress event is enabled because this the Oilify method, with a neighborhood of 10, is slow.

LEAD1.setEnableProgressEvent( true );
LEAD1.Oilify( (short) 10 );
LEAD1.ForceRepaint();