Set the window field to be the value given in the IjLayer constructor