question: private synchronized boolean isPaintingThread ( ) { return ( Thread . currentThread ( ) == paintThread ) ; }
target:  Returns true if the current thread is the thread painting.  This will return false if no threads are painting.