public class Example1 extends Form
{
    WFCApp m_app;
        
	public Example1()
	{
		super();
        m_app = new WFCApp ( 2500 );
        m_items = m_app.getItems();
        m_sortedItems = m_app.sortItems( m_items );
        
        // bind custom delegate classes to WFCApp class
        m_app.addOnSortCompletionEvent( new WFCSortEventDelegate( this.sortCompletionEvent ) );
        m_app.addOnSortProgressEvent( new WFCSortEventDelegate( this.sortProgressEvent ) );
		initForm();	
	}
	
}
