 import mx.core.FlexGlobals;
 import mx.core.IVisualElement;
 import mx.core.IWindow;
+import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.core.UIComponent;
 import mx.events.AIREvent;
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;

    }

    //----------------------------------
    //  resizable
    //----------------------------------
    

            if (moduleFactory == null)
                moduleFactory = SystemManagerGlobals.topLevelSystemManagers[0];

            var init:NativeWindowInitOptions = setupWindowInitOptions();
            _nativeWindow = new NativeWindow(init);
            var sm:WindowedSystemManager = new WindowedSystemManager(this);
            _nativeWindow.stage.addChild(sm);
