b.dispatchEvent( aEvent );
FocusEvent fEvent = new FocusEvent( b, FocusEvent.FOCUS_GAINED );
b.dispatchEvent( fEvent );
TextEvent tEvent = new TextEvent( tf, TextEvent.TEXT_VALUE_CHANGED );
tf.dispatchEvent( tEvent );
ItemEvent iEvent = new ItemEvent( c, ItemEvent.ITEM_STATE_CHANGED, c, 1 );
c.dispatchEvent( iEvent );