public void internalFrameClosed(InternalFrameEvent e) {
   Component cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     if (!((JInternalFrame) cont).isClosed()) {
       refreshMe();
     }
   }
 }
 public void refreshMe() {
   Component cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     if (!((JInternalFrame) cont).isClosed()) {
       Collection<ICFBamClearSubDep1Obj> dataCollection;
       ICFBamClearTopDepObj focus = (ICFBamClearTopDepObj) getSwingFocusAsClearTopDep();
       if (focus != null) {
         dataCollection = focus.getOptionalComponentsClearDep(swingIsInitializing);
       } else {
         dataCollection = null;
       }
       JPanel panel = getTabViewComponentsClearDepListJPanel();
       ICFBamSwingClearSubDep1JPanelList jpList = (ICFBamSwingClearSubDep1JPanelList) panel;
       jpList.setSwingDataCollection(dataCollection);
     }
   }
 }
 public void choseTenant(ICFSecurityTenantObj value) {
   Component cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     if (!((JInternalFrame) cont).isClosed()) {
       if (swingReferenceOwnerTenant != null) {
         ICFInternetDomainBaseObj cur = getSwingFocusAsDomainBase();
         if (cur != null) {
           ICFInternetDomainBaseEditObj editObj = (ICFBamDomainBaseEditObj) cur.getEdit();
           if (null != editObj) {
             CFJPanel.PanelMode curMode = getPanelMode();
             if ((curMode == CFJPanel.PanelMode.Add) || (curMode == CFJPanel.PanelMode.Edit)) {
               swingReferenceOwnerTenant.setReferencedObject(value);
               editObj.setRequiredOwnerTenant(value);
             }
           }
         }
       }
     }
   }
 }