ReadyState Example for Visual J++

This example shows how to use the ReadyState property to test whether an asynchronous load is in progress.

if( LEAD1.getReadyState() == LTOCXU.ReadyStateConstants.READYSTATE_LOADING )
   MessageBox.show( "Still loading the image" );