Underlay example for Visual J++

This example loads a bitmap into Lead2 and uses it as a tiled underlay for Lead1.

LEAD2.setVisible( false );
LEAD2.Load( "c:\\lead\\images\\ulay1.bmp", (short) 0, (short) 0, (short) 1 );
LEAD1.Underlay( LEAD2.getBitmap(), (short) LTOCXU.UnderlayConstants.UNDERLAY_TILE );
LEAD1.ForceRepaint();