// Create layers that both World Windows can share.
Layer[] layers = new Layer[]
{
new StarsLayer(),
new CompassLayer(),
new BMNGWMSLayer(),
new LandsatI3WMSLayer(),
};
// Create two models and pass them the shared layers.
Model modelForWindowA = new BasicModel();