         super.createChildren();
     }
     
+    /**
+     *  Creates and fills up the NativeWindowInitOptios used to create
+     *  the internal nativeWindow.
+     * 
+     *  @langversion 3.0
+     *  @playerversion AIR 3.0
+     *  @productversion Flex 4.6
+     */
+    protected function setupWindowInitOptions():NativeWindowInitOptions
+    {
+        var init:NativeWindowInitOptions = new NativeWindowInitOptions();
+        init.maximizable = _maximizable;
+        init.minimizable = _minimizable;
+        init.resizable = _resizable;
+        init.type = _type;
+        init.systemChrome = _systemChrome;
+        init.transparent = _transparent;
+        init.renderMode = _renderMode;
+        return init;        
+    }
 
     /**
      *  @private

import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;

import spark.components.windowClasses.TitleBar;
import spark.components.supportClasses.TextBase;

use namespace mx_internal;


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