             g.clear();
             // Also draw an invisible unfilled rect whose height
             // is the height of the entire Panel, not just the headerHeight.
-            // This is for accessibility; the titlebar of the Panel
+            // This is for accessibility; the titleDisplay of the Panel
             // has an AccessibilityImplementation (see PanelAccImpl)
             // which makes it act like a grouping (ROLE_SYSTEM_GROUPING)
             // for the controls inside the panel.

        if (instance == titleDisplay)
        {
            titleDisplay.text = title;
        }
        else if (instance == controlBarGroup)
        {

    {
        super.partRemoved(partName, instance);

		if (instance == titleDisplay)
		{
			// Since the PanelAccImpl must be attached to the Panel's titleDisplay
			// instead of to the Panel itself, we remove it from the titleDisplay
			// when the titleDisplay is removed from the Panel.
			titleDisplay.accessibilityImplementation = null;
		}
		else if (instance == controlBarGroup)
        {
            // copy proxied values from contentGroup (if explicitely set) to contentGroupProperties
            
