question: private boolean flushAccumulatedRegion ( ) { boolean success = true ; if ( accumulatedX != Integer . MAX_VALUE ) { SubRegionShowable bsSubRegion = ( SubRegionShowable ) bufferStrategy ; boolean contentsLost = bufferStrategy . contentsLost ( ) ; if ( ! contentsLost ) { bsSubRegion . show ( accumulatedX , accumulatedY , accumulatedMaxX , accumulatedMaxY ) ; contentsLost = bufferStrategy . contentsLost ( ) ; } if ( contentsLost ) { if ( LOGGER . isLoggable ( PlatformLogger . Level . FINER ) ) { LOGGER . finer ( "endPaint: contents lost" ) ; } bufferInfo . setInSync ( false ) ; success = false ; } } resetAccumulated ( ) ; return success ; }
target:  Renders the BufferStrategy to the screen.