Just posting the whole code so you can look around if needed, but this is where it's being created , which is called here: - Constructorr being called is on line 34 of the first link
Your Pane copy constructor doesn't copy the background color