Appearance Example for Visual J++

This example toggles the Appearance property.

if( LEAD1.getAppearance() == LTOCXU.AppearanceConstants.APPEARANCE_FLAT )
   LEAD1.setAppearance( (short) LTOCXU.AppearanceConstants.APPEARANCE_THREED );
else
   LEAD1.setAppearance( (short) LTOCXU.AppearanceConstants.APPEARANCE_FLAT );