     private var oldControlBarHeight:Number;
     
     /**
+	 *  @private
+	 *  Internal object that contains the thickness of each edge
+	 *  of the border
+	 */
+	protected var _panelBorderMetrics:EdgeMetrics;
+    
+    /**
      *  @private
      *  Return the thickness of the border edges.
      *

     */
    override public function get borderMetrics():EdgeMetrics
    {   
        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 || getStyle("borderStyle") != "default")
            return super.borderMetrics;
        
        var hasPanelParent:Boolean = isPanel(parent);

    	if (getStyle("borderStyle") == "default")
        	return EdgeMetrics.EMPTY;
        else
        {
        	return super.borderMetrics;
        }
    }

   	/**
