question: protected BackgroundTask ( long timeout , TimeUnit timeUnit , Frame ownerFrame ) { this . ownerFrame = ownerFrame ; this . timeoutMilliseconds = timeUnit . toMillis ( timeout ) ; }
target:  Create a task with timeout.