Added the contentPanel to the mainWindow