 import flash.utils.describeType;
 import mx.core.IContainer;
 import mx.core.EdgeMetrics;
-import mx.core.FlexVersion;
 import mx.core.IUIComponent;
 import mx.core.mx_internal;
 

     */
    override public function get borderMetrics():EdgeMetrics
    {   
        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
            return super.borderMetrics;
        
        var hasPanelParent:Boolean = isPanel(parent);
        var controlBar:IUIComponent = hasPanelParent ? Object(parent)._controlBar : null;        
        var hHeight:Number = hasPanelParent ? Object(parent).getHeaderHeightProxy() : NaN;

    override mx_internal function drawBorder(w:Number, h:Number):void
    {
        super.drawBorder(w,h);
        
        var borderStyle:String = getStyle("borderStyle");
        
