public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFAccSchemaObj schemaObj = swingSchema.getSchema();
   ICFAccMajorVersionObj obj =
       (ICFAccMajorVersionObj) schemaObj.getMajorVersionTableObj().newInstance();
   JInternalFrame frame = swingSchema.getMajorVersionFactory().newViewEditJInternalFrame(obj);
   frame.addInternalFrameListener(getViewEditInternalFrameListener());
   ICFAccMajorVersionEditObj edit = (ICFAccMajorVersionEditObj) (obj.beginEdit());
   if (edit == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "edit");
   }
   ICFSecurityTenantObj secTenant = schemaObj.getSecTenant();
   edit.setRequiredOwnerTenant(secTenant);
   ICFAccRealProjectObj container = (ICFAccRealProjectObj) (getSwingContainer());
   if (container == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "SwingContainer");
   }
   edit.setRequiredContainerParent(container);
   ICFAccSwingMajorVersionJPanelCommon jpanelCommon =
       (ICFAccSwingMajorVersionJPanelCommon) frame;
   jpanelCommon.setPanelMode(CFJPanel.PanelMode.Add);
   Container cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame myInternalFrame = (JInternalFrame) cont;
     myInternalFrame.getDesktopPane().add(frame);
     frame.setVisible(true);
     frame.show();
   }
 }
 public void loadData(boolean forceReload) {
   ICFAccSchemaObj schemaObj = swingSchema.getSchema();
   if ((listOfISOLanguage == null) || forceReload) {
     arrayOfISOLanguage = null;
     listOfISOLanguage =
         schemaObj.getISOLanguageTableObj().readAllISOLanguage(swingIsInitializing);
     if (listOfISOLanguage != null) {
       Object objArray[] = listOfISOLanguage.toArray();
       if (objArray != null) {
         int len = objArray.length;
         arrayOfISOLanguage = new ICFSecurityISOLanguageObj[len];
         for (int i = 0; i < len; i++) {
           arrayOfISOLanguage[i] = (ICFSecurityISOLanguageObj) objArray[i];
         }
         Arrays.sort(arrayOfISOLanguage, compareISOLanguageByQualName);
       }
     }
   }
 }