creating MyWindow when a simulationWindow is created