         _showStatusBar = value;
         showStatusBarChanged = true;
 
-        invalidateProperties();
-        invalidateDisplayList();
-    }
-
-    //----------------------------------
-    //  showTitleBar
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the showTitleBar property.
-     */
-    private var _showTitleBar:Boolean = true;
-
-    /**
-     *  @private
-     */
-    private var showTitleBarChanged:Boolean = true;
-
-    /**
-     *  If <code>true</code>, the window's title bar is visible.
-     *
-     *  @default true
-     *  
-     *  @langversion 3.0
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get showTitleBar():Boolean
-    {
-        return _showTitleBar;
-    }
-
-    /**
-     *  @private
-     */
-    public function set showTitleBar(value:Boolean):void
-    {
-        if (_showTitleBar == value)
-            return;
-
-        _showTitleBar = value;
-        showTitleBarChanged = true;
-        
         invalidateProperties();
         invalidateDisplayList();
     }

    public function get nativeApplication():NativeApplication
    {
        return NativeApplication.nativeApplication;
    }

    //----------------------------------
    //  showGripper
    //----------------------------------

    /**
     *  @private
     *  Storage for the showGripper property.
     */
    private var _showGripper:Boolean = true;

    /**
     *  @private
     */
    private var showGripperChanged:Boolean = true;

    /**
     *  If <code>true</code>, the gripper button is visible.
     *
     *  <p>On Mac OS X a window with <code>systemChrome</code>
     *  set to <code>"standard"</code>
     *  always has an operating system gripper, so this property is ignored
     *  in that case. 
     *  On other systems, the gripper button only appears when using 
     *  the Flex Chrome, not the system chrome.</p>
     *
     *  @default true
     *  
     *  @langversion 3.0
     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    public function get showGripper():Boolean
    {
        return _showGripper;
    }

    /**
     *  @private
     */
    public function set showGripper(value:Boolean):void
    {
        if (_showGripper == value)
            return;

        _showGripper = value;
        showGripperChanged = true;

        invalidateProperties();
        invalidateDisplayList();
    }

     //---------------------------------

        }
            
        var hitTestResults:String = NativeWindowResize.NONE;
        var resizeAfforanceWidth:Number = getStyle("resizeAffordanceWidth");
        var borderWidth:int = resizeAfforanceWidth;
        var cornerSize:int = resizeAfforanceWidth * 2;
        
        if (event.stageY < borderWidth)
        {
