public void validateComponents ( ) { // swap out our invalid array Object [ ] invalid = null ; synchronized ( this ) { invalid = _invalid ; _invalid = null ; } // if there's nothing to validate, we're home free if ( invalid == null ) { return ; } // validate everything therein int icount = invalid . length ; for ( int ii = 0 ; ii < icount ; ii ++ ) { if ( invalid [ ii ] != null ) { if ( DEBUG ) { log . info ( "Validating " + invalid [ ii ] ) ; } ( ( Component ) invalid [ ii ] ) . validate ( ) ; } } }
Validates the invalid components that have been queued up since the last frame tick .