NativeComponentProxyPanel(NativeComponentWrapper nativeComponentWrapper, boolean isVisibilityConstrained, boolean isDestructionOnFinalization, boolean isProxiedFiliation) {
super(nativeComponentWrapper);
this.isDestructionOnFinalization = isDestructionOnFinalization;
this.isVisibilityConstrained = isVisibilityConstrained;
hierarchyListener = new HierarchyListener() {
public void hierarchyChanged(HierarchyEvent e) {
long changeFlags = e.getChangeFlags();
if((changeFlags & (HierarchyEvent.SHOWING_CHANGED)) != 0) {
if(NativeComponentProxyPanel.this.isVisibilityConstrained) {
adjustEmbeddedPanelShape();