if (declaredWindow == null){
declaredWindow = frame;
pChild.putClientProperty("qq_DeclaredWindow", declaredWindow);
}
Insets i = ((WindowFormLayout)pChild.getLayout()).getLayoutInsets(pChild);
pChild.setLayout(new PanelLayoutManager(true));
((Panel)pChild).setInsets(i);
// TF:28/04/2008:These rules only seem to apply if the size policy of the form has not been explicitly set
GridCell existingCell = GridCell.getExisting(pChild);
Container c = ((JComponent)pCurrentParent).getTopLevelAncestor();