The canvas to paint into, or null to fence all painting off the previous one.
Passing null must return only once no paint can touch that canvas again, because the view calls it while AWT is about to destroy the peer.