Rotate example for Visual J++

This example rotates the bitmap 45 degrees and redisplays the image. It resizes the bitmap to accommodate the rotation and uses blue as the fill color.

LEAD1.Rotate( 4500, ROTATE_RESIZE, new Color( 0,0,255 ) );
LEAD1.setAutoSetRects( true );  // Make sure the display rectangles are adjusted
LEAD1.ForceRepaint();