OLEDropAllowed example for Visual J++

This example toggles the OLEDropAllowed property.

if( !LEAD1.getOLEDropAllowed() )
   LEAD1.setOLEDropAllowed( true );
else
   LEAD1.setOLEDropAllowed( false );