Package com.commander4j.app

Examples of com.commander4j.app.JInternalFramePalletSplit


      }
    }

    if (optionName.equals("FRM_PAL_SPLIT"))
    {
      final JInternalFramePalletSplit u;
      if (isLoaded(JInternalFramePalletSplit.class))
        setVisible(JInternalFramePalletSplit.class);
      else
      {
        u = new JInternalFramePalletSplit();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_SAMPLE_RESULTS"))
    {
      final JInternalFrameQMSampleResults u;
      if (isLoaded(JInternalFrameQMSampleResults.class))
        setVisible(JInternalFrameQMSampleResults.class);
      else
      {
        u = new JInternalFrameQMSampleResults();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_SAMPLE_LABEL"))
    {
      final JInternalFrameQMSampleLabel u;
      if (isLoaded(JInternalFrameQMSampleLabel.class))
        setVisible(JInternalFrameQMSampleLabel.class);
      else
      {
        u = new JInternalFrameQMSampleLabel();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_SAMPLE_EDIT"))
    {
      final JInternalFrameQMSampleRecord u;
      if (isLoaded(JInternalFrameQMSampleRecord.class))
        setVisible(JInternalFrameQMSampleRecord.class);
      else
      {
        u = new JInternalFrameQMSampleRecord();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_QM_INSPECTION"))
    {
      final JInternalFrameQMInspectionAdmin u;
      if (isLoaded(JInternalFrameQMInspectionAdmin.class))
        setVisible(JInternalFrameQMInspectionAdmin.class);
      else
      {
        u = new JInternalFrameQMInspectionAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_RESULT_ENQUIRY"))
    {
      final JInternalFrameQMResultEnquiry u;
      if (isLoaded(JInternalFrameQMResultEnquiry.class))
        setVisible(JInternalFrameQMResultEnquiry.class);
      else
      {
        u = new JInternalFrameQMResultEnquiry();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USER_REPORT"))
    {
      final JInternalFrameUserReportAdmin u;
      if (isLoaded(JInternalFrameUserReportAdmin.class))
        setVisible(JInternalFrameUserReportAdmin.class);
      else
      {
        u = new JInternalFrameUserReportAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_QM_SELECTLIST"))
    {
      final JInternalFrameQMSelectListAdmin u;
      if (isLoaded(JInternalFrameQMSelectListAdmin.class))
        setVisible(JInternalFrameQMSelectListAdmin.class);
      else
      {
        u = new JInternalFrameQMSelectListAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_QM_DICTIONARY"))
    {
      final JInternalFrameQMDictionaryAdmin u;
      if (isLoaded(JInternalFrameQMDictionaryAdmin.class))
        setVisible(JInternalFrameQMDictionaryAdmin.class);
      else
      {
        u = new JInternalFrameQMDictionaryAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PAL_PROD_DEC"))
    {
      final JInternalFrameProductionDeclaration u;
      if (isLoaded(JInternalFrameProductionDeclaration.class))
        setVisible(JInternalFrameProductionDeclaration.class);
      else
      {
        u = new JInternalFrameProductionDeclaration("");
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_CM_PRINTERS"))
    {
      final JInternalFramePrinterSelect u;
      if (isLoaded(JInternalFramePrinterSelect.class))
        setVisible(JInternalFramePrinterSelect.class);
      else
      {
        u = new JInternalFramePrinterSelect();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_PROCESS"))
    {
      final JInternalFrameInterfaceControl u;
      if (isLoaded(JInternalFrameInterfaceControl.class))
        setVisible(JInternalFrameInterfaceControl.class);
      else
      {
        u = new JInternalFrameInterfaceControl();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_LANGUAGE"))
    {
      final JInternalFrameLanguageAdmin u;
      if (isLoaded(JInternalFrameLanguageAdmin.class))
        setVisible(JInternalFrameLanguageAdmin.class);
      else
      {
        u = new JInternalFrameLanguageAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE"))
    {
      final JInternalFrameInterfaceAdmin u;
      if (isLoaded(JInternalFrameInterfaceAdmin.class))
        setVisible(JInternalFrameInterfaceAdmin.class);
      else
      {
        u = new JInternalFrameInterfaceAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_REQUEST"))
    {
      final JInternalFrameInterfaceRequestAdmin u;
      if (isLoaded(JInternalFrameInterfaceRequestAdmin.class))
        setVisible(JInternalFrameInterfaceRequestAdmin.class);
      else
      {
        u = new JInternalFrameInterfaceRequestAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_LOG"))
    {
      final JInternalFrameInterfaceLog u;
      if (isLoaded(JInternalFrameInterfaceLog.class))
        setVisible(JInternalFrameInterfaceLog.class);
      else
      {
        u = new JInternalFrameInterfaceLog();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_TOOLBAR"))
    {
      final JInternalFrameToolbar u;
      if (isLoaded(JInternalFrameToolbar.class))
        setVisible(JInternalFrameToolbar.class);
      else
      {
        u = new JInternalFrameToolbar();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_RF_MENU"))
    {
      final JInternalFrameRFMenu u;
      if (isLoaded(JInternalFrameRFMenu.class))
        setVisible(JInternalFrameRFMenu.class);
      else
      {
        u = new JInternalFrameRFMenu();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PROCESS_ORDER"))
    {
      final JInternalFrameProcessOrderAdmin u;
      if (isLoaded(JInternalFrameProcessOrderAdmin.class))
        setVisible(JInternalFrameProcessOrderAdmin.class);
      else
      {
        u = new JInternalFrameProcessOrderAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_DESPATCH"))
    {
      final JInternalFrameDespatch u;
      if (isLoaded(JInternalFrameDespatch.class))
        setVisible(JInternalFrameDespatch.class);
      else
      {
        u = new JInternalFrameDespatch();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIALS"))
    {
      final JInternalFrameMaterialAdmin u;
      if (isLoaded(JInternalFrameMaterialAdmin.class))
        setVisible(JInternalFrameMaterialAdmin.class);
      else
      {
        u = new JInternalFrameMaterialAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH"))
    {
      final JInternalFrameMaterialBatchAdmin u;
      if (isLoaded(JInternalFrameMaterialBatchAdmin.class))
        setVisible(JInternalFrameMaterialBatchAdmin.class);
      else
      {
        u = new JInternalFrameMaterialBatchAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION"))
    {
      final JInternalFrameMaterialLocationAdmin u;
      if (isLoaded(JInternalFrameMaterialLocationAdmin.class))
        setVisible(JInternalFrameMaterialLocationAdmin.class);
      else
      {
        u = new JInternalFrameMaterialLocationAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_TYPE"))
    {
      final JInternalFrameMaterialTypeAdmin u;
      if (isLoaded(JInternalFrameMaterialTypeAdmin.class))
        setVisible(JInternalFrameMaterialTypeAdmin.class);
      else
      {
        u = new JInternalFrameMaterialTypeAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_REASON"))
    {
      final JInternalFrameMHNReasonAdmin u;
      if (isLoaded(JInternalFrameMHNReasonAdmin.class))
        setVisible(JInternalFrameMHNReasonAdmin.class);
      else
      {
        u = new JInternalFrameMHNReasonAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_DECISION"))
    {
      final JInternalFrameMHNDecisionAdmin u;
      if (isLoaded(JInternalFrameMHNDecisionAdmin.class))
        setVisible(JInternalFrameMHNDecisionAdmin.class);
      else
      {
        u = new JInternalFrameMHNDecisionAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_LOCATIONS"))
    {
      final JInternalFrameLocationAdmin u;
      if (isLoaded(JInternalFrameLocationAdmin.class))
        setVisible(JInternalFrameLocationAdmin.class);
      else
      {
        u = new JInternalFrameLocationAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN"))
    {
      final JInternalFrameMHNAdmin u;
      if (isLoaded(JInternalFrameMHNAdmin.class))
        setVisible(JInternalFrameMHNAdmin.class);
      else
      {
        u = new JInternalFrameMHNAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PALLETS"))
    {
      final JInternalFramePalletAdmin u;
      if (isLoaded(JInternalFramePalletAdmin.class))
        setVisible(JInternalFramePalletAdmin.class);
      else
      {
        u = new JInternalFramePalletAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_LABEL_PRINT"))
    {
      final JInternalFramePackLabelPrint u;
      if (isLoaded(JInternalFramePackLabelPrint.class))
        setVisible(JInternalFramePackLabelPrint.class);
      else
      {
        u = new JInternalFramePackLabelPrint();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PALLET_HISTORY"))
    {
      final JInternalFramePalletHistoryAdmin u;
      if (isLoaded(JInternalFramePalletHistoryAdmin.class))
        setVisible(JInternalFramePalletHistoryAdmin.class);
      else
      {
        u = new JInternalFramePalletHistoryAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_UOM"))
    {
      final JInternalFrameUomAdmin u;
      if (isLoaded(JInternalFrameUomAdmin.class))
        setVisible(JInternalFrameUomAdmin.class);
      else
      {
        u = new JInternalFrameUomAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_CUSTOMER"))
    {
      final JInternalFrameCustomerAdmin u;
      if (isLoaded(JInternalFrameCustomerAdmin.class))
        setVisible(JInternalFrameCustomerAdmin.class);
      else
      {
        u = new JInternalFrameCustomerAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_AUTO_LABELLER"))
    {
      final JInternalFrameAutoLabellerLines u;
      if (isLoaded(JInternalFrameAutoLabellerLines.class))
        setVisible(JInternalFrameAutoLabellerLines.class);
      else
      {
        u = new JInternalFrameAutoLabellerLines();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MENU"))
    {
      final JInternalFrameMenuStructure u;
      if (isLoaded(JInternalFrameMenuStructure.class))
        setVisible(JInternalFrameMenuStructure.class);
      else
      {
        u = new JInternalFrameMenuStructure();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_SYSTEM_KEYS"))
    {
      final JInternalFrameControlAdmin u;
      if (isLoaded(JInternalFrameControlAdmin.class))
        setVisible(JInternalFrameControlAdmin.class);
      else
      {
        u = new JInternalFrameControlAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_ARCHIVE"))
    {
      final JInternalFrameArchiveAdmin u;
      if (isLoaded(JInternalFrameArchiveAdmin.class))
        setVisible(JInternalFrameArchiveAdmin.class);
      else
      {
        u = new JInternalFrameArchiveAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PRINTERS"))
    {
      final JInternalFramePrinterAdmin u;
      if (isLoaded(JInternalFramePrinterAdmin.class))
        setVisible(JInternalFramePrinterAdmin.class);
      else
      {
        u = new JInternalFramePrinterAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MODULES"))
    {
      final JInternalFrameModuleAdmin u;
      if (isLoaded(JInternalFrameModuleAdmin.class))
        setVisible(JInternalFrameModuleAdmin.class);
      else
      {
        u = new JInternalFrameModuleAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USERS"))
    {
      final JInternalFrameUserAdmin u;
      if (isLoaded(JInternalFrameUserAdmin.class))
        setVisible(JInternalFrameUserAdmin.class);
      else
      {
        u = new JInternalFrameUserAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUPS"))
    {
      final JInternalFrameGroupAdmin u;
      if (isLoaded(JInternalFrameGroupAdmin.class))
        setVisible(JInternalFrameGroupAdmin.class);
      else
      {
        u = new JInternalFrameGroupAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PAL_PROD_CONFIRM"))
    {
      final JInternalFrameProductionConfirmation u;
      if (isLoaded(JInternalFrameProductionConfirmation.class))
        setVisible(JInternalFrameProductionConfirmation.class);
      else
      {
        u = new JInternalFrameProductionConfirmation();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

  }
View Full Code Here


      }
    }

    if (optionName.equals("FRM_PAL_SPLIT"))
    {
      final JInternalFramePalletSplit u;
      // if (isLoaded(JInternalFramePalletSplit.class))
      // setVisible(JInternalFramePalletSplit.class);
      // else
      {
        u = new JInternalFramePalletSplit(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_SAMPLE_EDIT"))
    {
      final JInternalFrameQMSampleRecord u;
      // if (isLoaded(JInternalFrameQMSampleRecord.class))
      // setVisible(JInternalFrameQMSampleRecord.class);
      // else
      {
        u = new JInternalFrameQMSampleRecord(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_CUSTOMER_EDIT"))
    {
      final JInternalFrameCustomerProperties u;
      // if (isLoaded(JInternalFrameCustomerProperties.class))
      // setVisible(JInternalFrameCustomerProperties.class);
      // else
      {
        u = new JInternalFrameCustomerProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_EDIT"))
    {
      final JInternalFrameMHNProperties u;
      // if (isLoaded(JInternalFrameMHNProperties.class))
      // setVisible(JInternalFrameMHNProperties.class);
      // else
      {
        u = new JInternalFrameMHNProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PAL_PROD_DEC"))
    {
      final JInternalFrameProductionDeclaration u;
      if (isLoaded(JInternalFrameProductionDeclaration.class))
        setVisible(JInternalFrameProductionDeclaration.class);
      else
      {
        u = new JInternalFrameProductionDeclaration(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MODULE_EDIT"))
    {
      final JInternalFrameModuleProperties u;
      // if (isLoaded(JInternalFrameModuleProperties.class))
      // setVisible(JInternalFrameModuleProperties.class);
      // else
      {
        u = new JInternalFrameModuleProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USER_EDIT"))
    {
      final JInternalFrameUserProperties u;
      // if (isLoaded(JInternalFrameUserProperties.class))
      // setVisible(JInternalFrameUserProperties.class);
      // else
      {
        u = new JInternalFrameUserProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PALLET_EDIT"))
    {
      final JInternalFramePalletProperties u;
      // if (isLoaded(JInternalFramePalletProperties.class))
      // setVisible(JInternalFramePalletProperties.class);
      // else
      {
        u = new JInternalFramePalletProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PROCESS_ORDER_LABEL"))
    {
      final JInternalFrameProcessOrderLabel u;
      // if (isLoaded(JInternalFrameProcessOrderLabel.class))
      // setVisible(JInternalFrameProcessOrderLabel.class);
      // else
      {
        u = new JInternalFrameProcessOrderLabel(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PAL_PROD_CONFIRM"))
    {
      final JInternalFrameProductionConfirmation u;
      if (isLoaded(JInternalFrameProductionConfirmation.class))
        setVisible(JInternalFrameProductionConfirmation.class);
      else
      {
        u = new JInternalFrameProductionConfirmation(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
    if (optionName.equals("FRM_ADMIN_UOM_EDIT"))
    {
      final JInternalFrameUomProperties u;
      // if (isLoaded(JInternalFrameUomProperties.class))
      // setVisible(JInternalFrameUomProperties.class);
      // else
      {
        u = new JInternalFrameUomProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_TYPE_EDIT"))
    {
      final JInternalFrameMaterialTypeProperties u;
      // if (isLoaded(JInternalFrameMaterialTypeProperties.class))
      // setVisible(JInternalFrameMaterialTypeProperties.class);
      // else
      {
        u = new JInternalFrameMaterialTypeProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_REASON_EDIT"))
    {
      final JInternalFrameMHNReasonProperties u;
      // if (isLoaded(JInternalFrameMHNReasonProperties.class))
      // setVisible(JInternalFrameMHNReasonProperties.class);
      // else
      {
        u = new JInternalFrameMHNReasonProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_DECISION_EDIT"))
    {
      final JInternalFrameMHNDecisionProperties u;
      // if (isLoaded(JInternalFrameMHNDecisionProperties.class))
      // setVisible(JInternalFrameMHNDecisionProperties.class);
      // else
      {
        u = new JInternalFrameMHNDecisionProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_EDIT"))
    {
      final JInternalFrameMaterialProperties u;
      // if (isLoaded(JInternalFrameMaterialProperties.class))
      // setVisible(JInternalFrameMaterialProperties.class);
      // else
      {
        u = new JInternalFrameMaterialProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH"))
    {
      final JInternalFrameMaterialBatchAdmin u;
      // if (isLoaded(JInternalFrameMaterialBatchAdmin.class))
      // setVisible(JInternalFrameMaterialBatchAdmin.class);
      // else
      {
        u = new JInternalFrameMaterialBatchAdmin(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION"))
    {
      final JInternalFrameMaterialLocationAdmin u;
      // if (isLoaded(JInternalFrameMaterialLocationAdmin.class))
      // setVisible(JInternalFrameMaterialLocationAdmin.class);
      // else
      {
        u = new JInternalFrameMaterialLocationAdmin(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_LOCATION_EDIT"))
    {
      final JInternalFrameLocationProperties u;
      // if (isLoaded(JInternalFrameLocationProperties.class))
      // setVisible(JInternalFrameLocationProperties.class);
      // else
      {
        u = new JInternalFrameLocationProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PROCESS_ORDER_EDIT"))
    {
      final JInternalFrameProcessOrderProperties u;
      // if (isLoaded(JInternalFrameProcessOrderProperties.class))
      // setVisible(JInternalFrameProcessOrderProperties.class);
      // else
      {
        u = new JInternalFrameProcessOrderProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUP_EDIT"))
    {
      final JInternalFrameGroupProperties u;
      // if (isLoaded(JInternalFrameGroupProperties.class))
      // setVisible(JInternalFrameGroupProperties.class);
      // else
      {
        u = new JInternalFrameGroupProperties(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USER_PERM"))
    {
      final JInternalFrameUserPermissions u;
      // if (isLoaded(JInternalFrameUserPermissions.class))
      // setVisible(JInternalFrameUserPermissions.class);
      // else
      {
        u = new JInternalFrameUserPermissions(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUP_PERM"))
    {
      final JInternalFrameGroupPermissions u;
      // if (isLoaded(JInternalFrameGroupPermissions.class))
      // setVisible(JInternalFrameGroupPermissions.class);
      // else
      {
        u = new JInternalFrameGroupPermissions(StrParam);
        u.setTitle(mod.getDescription() + " [" + StrParam + "]");
        displayForm(u, optionName);
      }
    }
  }
View Full Code Here

      }
    }
   
    if (optionName.equals("FRM_PAL_SPLIT"))
    {
      final JInternalFramePalletSplit u;
      if (isLoaded(JInternalFramePalletSplit.class))
        setVisible(JInternalFramePalletSplit.class);
      else
      {
        u = new JInternalFramePalletSplit();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_QM_SAMPLE_RESULTS"))
    {
      final JInternalFrameQMSampleResults u;
      if (isLoaded(JInternalFrameQMSampleResults.class))
        setVisible(JInternalFrameQMSampleResults.class);
      else
      {
        u = new JInternalFrameQMSampleResults();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_QM_SAMPLE_LABEL"))
    {
      final JInternalFrameQMSampleLabel u;
      if (isLoaded(JInternalFrameQMSampleLabel.class))
        setVisible(JInternalFrameQMSampleLabel.class);
      else
      {
        u = new JInternalFrameQMSampleLabel();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_QM_SAMPLE_EDIT"))
    {
      final JInternalFrameQMSampleRecord u;
      if (isLoaded(JInternalFrameQMSampleRecord.class))
        setVisible(JInternalFrameQMSampleRecord.class);
      else
      {
        u = new JInternalFrameQMSampleRecord();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_QM_INSPECTION"))
    {
      final JInternalFrameQMInspectionAdmin u;
      if (isLoaded(JInternalFrameQMInspectionAdmin.class))
        setVisible(JInternalFrameQMInspectionAdmin.class);
      else
      {
        u = new JInternalFrameQMInspectionAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
    if (optionName.equals("FRM_QM_RESULT_ENQUIRY"))
    {
      final JInternalFrameQMResultEnquiry u;
      if (isLoaded(JInternalFrameQMResultEnquiry.class))
        setVisible(JInternalFrameQMResultEnquiry.class);
      else
      {
        u = new JInternalFrameQMResultEnquiry();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
    if (optionName.equals("FRM_ADMIN_USER_REPORT"))
    {
      final JInternalFrameUserReportAdmin u;
      if (isLoaded(JInternalFrameUserReportAdmin.class))
        setVisible(JInternalFrameUserReportAdmin.class);
      else
      {
        u = new JInternalFrameUserReportAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
   
    if (optionName.equals("FRM_ADMIN_QM_SELECTLIST"))
    {
      final JInternalFrameQMSelectListAdmin u;
      if (isLoaded(JInternalFrameQMSelectListAdmin.class))
        setVisible(JInternalFrameQMSelectListAdmin.class);
      else
      {
        u = new JInternalFrameQMSelectListAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    } 
   
    if (optionName.equals("FRM_ADMIN_QM_DICTIONARY"))
    {
      final JInternalFrameQMDictionaryAdmin u;
      if (isLoaded(JInternalFrameQMDictionaryAdmin.class))
        setVisible(JInternalFrameQMDictionaryAdmin.class);
      else
      {
        u = new JInternalFrameQMDictionaryAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    } 
   
    if (optionName.equals("FRM_PAL_PROD_DEC"))
    {
      final JInternalFrameProductionDeclaration u;
      if (isLoaded(JInternalFrameProductionDeclaration.class))
        setVisible(JInternalFrameProductionDeclaration.class);
      else
      {
        u = new JInternalFrameProductionDeclaration("");
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_CM_PRINTERS"))
    {
      final JInternalFramePrinterSelect u;
      if (isLoaded(JInternalFramePrinterSelect.class))
        setVisible(JInternalFramePrinterSelect.class);
      else
      {
        u = new JInternalFramePrinterSelect();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_PROCESS"))
    {
      final JInternalFrameInterfaceControl u;
      if (isLoaded(JInternalFrameInterfaceControl.class))
        setVisible(JInternalFrameInterfaceControl.class);
      else
      {
        u = new JInternalFrameInterfaceControl();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_LANGUAGE"))
    {
      final JInternalFrameLanguageAdmin u;
      if (isLoaded(JInternalFrameLanguageAdmin.class))
        setVisible(JInternalFrameLanguageAdmin.class);
      else
      {
        u = new JInternalFrameLanguageAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE"))
    {
      final JInternalFrameInterfaceAdmin u;
      if (isLoaded(JInternalFrameInterfaceAdmin.class))
        setVisible(JInternalFrameInterfaceAdmin.class);
      else
      {
        u = new JInternalFrameInterfaceAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_REQUEST"))
    {
      final JInternalFrameInterfaceRequestAdmin u;
      if (isLoaded(JInternalFrameInterfaceRequestAdmin.class))
        setVisible(JInternalFrameInterfaceRequestAdmin.class);
      else
      {
        u = new JInternalFrameInterfaceRequestAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_LOG"))
    {
      final JInternalFrameInterfaceLog u;
      if (isLoaded(JInternalFrameInterfaceLog.class))
        setVisible(JInternalFrameInterfaceLog.class);
      else
      {
        u = new JInternalFrameInterfaceLog();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_TOOLBAR"))
    {
      final JInternalFrameToolbar u;
      if (isLoaded(JInternalFrameToolbar.class))
        setVisible(JInternalFrameToolbar.class);
      else
      {
        u = new JInternalFrameToolbar();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_RF_MENU"))
    {
      final JInternalFrameRFMenu u;
      if (isLoaded(JInternalFrameRFMenu.class))
        setVisible(JInternalFrameRFMenu.class);
      else
      {
        u = new JInternalFrameRFMenu();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PROCESS_ORDER"))
    {
      final JInternalFrameProcessOrderAdmin u;
      if (isLoaded(JInternalFrameProcessOrderAdmin.class))
        setVisible(JInternalFrameProcessOrderAdmin.class);
      else
      {
        u = new JInternalFrameProcessOrderAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_DESPATCH"))
    {
      final JInternalFrameDespatch u;
      if (isLoaded(JInternalFrameDespatch.class))
        setVisible(JInternalFrameDespatch.class);
      else
      {
        u = new JInternalFrameDespatch();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIALS"))
    {
      final JInternalFrameMaterialAdmin u;
      if (isLoaded(JInternalFrameMaterialAdmin.class))
        setVisible(JInternalFrameMaterialAdmin.class);
      else
      {
        u = new JInternalFrameMaterialAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH"))
    {
      final JInternalFrameMaterialBatchAdmin u;
      if (isLoaded(JInternalFrameMaterialBatchAdmin.class))
        setVisible(JInternalFrameMaterialBatchAdmin.class);
      else
      {
        u = new JInternalFrameMaterialBatchAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION"))
    {
      final JInternalFrameMaterialLocationAdmin u;
      if (isLoaded(JInternalFrameMaterialLocationAdmin.class))
        setVisible(JInternalFrameMaterialLocationAdmin.class);
      else
      {
        u = new JInternalFrameMaterialLocationAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   

    if (optionName.equals("FRM_ADMIN_MATERIAL_TYPE"))
    {
      final JInternalFrameMaterialTypeAdmin u;
      if (isLoaded(JInternalFrameMaterialTypeAdmin.class))
        setVisible(JInternalFrameMaterialTypeAdmin.class);
      else
      {
        u = new JInternalFrameMaterialTypeAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_REASON"))
    {
      final JInternalFrameMHNReasonAdmin u;
      if (isLoaded(JInternalFrameMHNReasonAdmin.class))
        setVisible(JInternalFrameMHNReasonAdmin.class);
      else
      {
        u = new JInternalFrameMHNReasonAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_DECISION"))
    {
      final JInternalFrameMHNDecisionAdmin u;
      if (isLoaded(JInternalFrameMHNDecisionAdmin.class))
        setVisible(JInternalFrameMHNDecisionAdmin.class);
      else
      {
        u = new JInternalFrameMHNDecisionAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
    if (optionName.equals("FRM_ADMIN_LOCATIONS"))
    {
      final JInternalFrameLocationAdmin u;
      if (isLoaded(JInternalFrameLocationAdmin.class))
        setVisible(JInternalFrameLocationAdmin.class);
      else
      {
        u = new JInternalFrameLocationAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MHN"))
    {
      final JInternalFrameMHNAdmin u;
      if (isLoaded(JInternalFrameMHNAdmin.class))
        setVisible(JInternalFrameMHNAdmin.class);
      else
      {
        u = new JInternalFrameMHNAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   

    if (optionName.equals("FRM_ADMIN_PALLETS"))
    {
      final JInternalFramePalletAdmin u;
      if (isLoaded(JInternalFramePalletAdmin.class))
        setVisible(JInternalFramePalletAdmin.class);
      else
      {
        u = new JInternalFramePalletAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_LABEL_PRINT"))
    {
      final JInternalFramePackLabelPrint u;
      if (isLoaded(JInternalFramePackLabelPrint.class))
        setVisible(JInternalFramePackLabelPrint.class);
      else
      {
        u = new JInternalFramePackLabelPrint();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PALLET_HISTORY"))
    {
      final JInternalFramePalletHistoryAdmin u;
      if (isLoaded(JInternalFramePalletHistoryAdmin.class))
        setVisible(JInternalFramePalletHistoryAdmin.class);
      else
      {
        u = new JInternalFramePalletHistoryAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_UOM"))
    {
      final JInternalFrameUomAdmin u;
      if (isLoaded(JInternalFrameUomAdmin.class))
        setVisible(JInternalFrameUomAdmin.class);
      else
      {
        u = new JInternalFrameUomAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_CUSTOMER"))
    {
      final JInternalFrameCustomerAdmin u;
      if (isLoaded(JInternalFrameCustomerAdmin.class))
        setVisible(JInternalFrameCustomerAdmin.class);
      else
      {
        u = new JInternalFrameCustomerAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
    if (optionName.equals("FRM_ADMIN_AUTO_LABELLER"))
    {
      final JInternalFrameAutoLabeller u;
      if (isLoaded(JInternalFrameAutoLabeller.class))
        setVisible(JInternalFrameAutoLabeller.class);
      else
      {
        u = new JInternalFrameAutoLabeller();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MENU"))
    {
      final JInternalFrameMenuStructure u;
      if (isLoaded(JInternalFrameMenuStructure.class))
        setVisible(JInternalFrameMenuStructure.class);
      else
      {
        u = new JInternalFrameMenuStructure();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_SYSTEM_KEYS"))
    {
      final JInternalFrameControlAdmin u;
      if (isLoaded(JInternalFrameControlAdmin.class))
        setVisible(JInternalFrameControlAdmin.class);
      else
      {
        u = new JInternalFrameControlAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PRINTERS"))
    {
      final JInternalFramePrinterAdmin u;
      if (isLoaded(JInternalFramePrinterAdmin.class))
        setVisible(JInternalFramePrinterAdmin.class);
      else
      {
        u = new JInternalFramePrinterAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MODULES"))
    {
      final JInternalFrameModuleAdmin u;
      if (isLoaded(JInternalFrameModuleAdmin.class))
        setVisible(JInternalFrameModuleAdmin.class);
      else
      {
        u = new JInternalFrameModuleAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USERS"))
    {
      final JInternalFrameUserAdmin u;
      if (isLoaded(JInternalFrameUserAdmin.class))
        setVisible(JInternalFrameUserAdmin.class);
      else
      {
        u = new JInternalFrameUserAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUPS"))
    {
      final JInternalFrameGroupAdmin u;
      if (isLoaded(JInternalFrameGroupAdmin.class))
        setVisible(JInternalFrameGroupAdmin.class);
      else
      {
        u = new JInternalFrameGroupAdmin();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_PAL_PROD_CONFIRM"))
    {
      final JInternalFrameProductionConfirmation u;
      if (isLoaded(JInternalFrameProductionConfirmation.class))
        setVisible(JInternalFrameProductionConfirmation.class);
      else
      {
        u = new JInternalFrameProductionConfirmation();
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

  }
View Full Code Here

      }
    }
   
    if (optionName.equals("FRM_PAL_SPLIT"))
    {
      final JInternalFramePalletSplit u;
      if (isLoaded(JInternalFramePalletSplit.class))
        setVisible(JInternalFramePalletSplit.class);
      else
      {
        u = new JInternalFramePalletSplit(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_QM_SAMPLE_EDIT"))
    {
      final JInternalFrameQMSampleRecord u;
      if (isLoaded(JInternalFrameQMSampleRecord.class))
        setVisible(JInternalFrameQMSampleRecord.class);
      else
      {
        u = new JInternalFrameQMSampleRecord(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_CUSTOMER_EDIT"))
    {
      final JInternalFrameCustomerProperties u;
      if (isLoaded(JInternalFrameCustomerProperties.class))
        setVisible(JInternalFrameCustomerProperties.class);
      else
      {
        u = new JInternalFrameCustomerProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   

   
    if (optionName.equals("FRM_ADMIN_MHN_EDIT"))
    {
      final JInternalFrameMHNProperties u;
      if (isLoaded(JInternalFrameMHNProperties.class))
        setVisible(JInternalFrameMHNProperties.class);
      else
      {
        u = new JInternalFrameMHNProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }     

    if (optionName.equals("FRM_PAL_PROD_DEC"))
    {
      final JInternalFrameProductionDeclaration u;
      if (isLoaded(JInternalFrameProductionDeclaration.class))
        setVisible(JInternalFrameProductionDeclaration.class);
      else
      {
        u = new JInternalFrameProductionDeclaration(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MODULE_EDIT"))
    {
      final JInternalFrameModuleProperties u;
      if (isLoaded(JInternalFrameModuleProperties.class))
        setVisible(JInternalFrameModuleProperties.class);
      else
      {
        u = new JInternalFrameModuleProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USER_EDIT"))
    {
      final JInternalFrameUserProperties u;
      if (isLoaded(JInternalFrameUserProperties.class))
        setVisible(JInternalFrameUserProperties.class);
      else
      {
        u = new JInternalFrameUserProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PALLET_EDIT"))
    {
      final JInternalFramePalletProperties u;
      if (isLoaded(JInternalFramePalletProperties.class))
        setVisible(JInternalFramePalletProperties.class);
      else
      {
        u = new JInternalFramePalletProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
       
    if (optionName.equals("FRM_PROCESS_ORDER_LABEL"))
    {
      final JInternalFrameProcessOrderLabel u;
      if (isLoaded(JInternalFrameProcessOrderLabel.class))
        setVisible(JInternalFrameProcessOrderLabel.class);
      else
      {
        u = new JInternalFrameProcessOrderLabel(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    } 
   
    if (optionName.equals("FRM_PAL_PROD_CONFIRM"))
    {
      final JInternalFrameProductionConfirmation u;
      if (isLoaded(JInternalFrameProductionConfirmation.class))
        setVisible(JInternalFrameProductionConfirmation.class);
      else
      {
        u = new JInternalFrameProductionConfirmation(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
    if (optionName.equals("FRM_ADMIN_UOM_EDIT"))
    {
      final JInternalFrameUomProperties u;
      if (isLoaded(JInternalFrameUomProperties.class))
        setVisible(JInternalFrameUomProperties.class);
      else
      {
        u = new JInternalFrameUomProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_TYPE_EDIT"))
    {
      final JInternalFrameMaterialTypeProperties u;
      if (isLoaded(JInternalFrameMaterialTypeProperties.class))
        setVisible(JInternalFrameMaterialTypeProperties.class);
      else
      {
        u = new JInternalFrameMaterialTypeProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   


    if (optionName.equals("FRM_ADMIN_MHN_REASON_EDIT"))
    {
      final JInternalFrameMHNReasonProperties u;
      if (isLoaded(JInternalFrameMHNReasonProperties.class))
        setVisible(JInternalFrameMHNReasonProperties.class);
      else
      {
        u = new JInternalFrameMHNReasonProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MHN_DECISION_EDIT"))
    {
      final JInternalFrameMHNDecisionProperties u;
      if (isLoaded(JInternalFrameMHNDecisionProperties.class))
        setVisible(JInternalFrameMHNDecisionProperties.class);
      else
      {
        u = new JInternalFrameMHNDecisionProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }   
   
    if (optionName.equals("FRM_ADMIN_MATERIAL_EDIT"))
    {
      final JInternalFrameMaterialProperties u;
      if (isLoaded(JInternalFrameMaterialProperties.class))
        setVisible(JInternalFrameMaterialProperties.class);
      else
      {
        u = new JInternalFrameMaterialProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH"))
    {
      final JInternalFrameMaterialBatchAdmin u;
      if (isLoaded(JInternalFrameMaterialBatchAdmin.class))
        setVisible(JInternalFrameMaterialBatchAdmin.class);
      else
      {
        u = new JInternalFrameMaterialBatchAdmin(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION"))
    {
      final JInternalFrameMaterialLocationAdmin u;
      if (isLoaded(JInternalFrameMaterialLocationAdmin.class))
        setVisible(JInternalFrameMaterialLocationAdmin.class);
      else
      {
        u = new JInternalFrameMaterialLocationAdmin(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_LOCATION_EDIT"))
    {
      final JInternalFrameLocationProperties u;
      if (isLoaded(JInternalFrameLocationProperties.class))
        setVisible(JInternalFrameLocationProperties.class);
      else
      {
        u = new JInternalFrameLocationProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_PROCESS_ORDER_EDIT"))
    {
      final JInternalFrameProcessOrderProperties u;
      if (isLoaded(JInternalFrameProcessOrderProperties.class))
        setVisible(JInternalFrameProcessOrderProperties.class);
      else
      {
        u = new JInternalFrameProcessOrderProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUP_EDIT"))
    {
      final JInternalFrameGroupProperties u;
      if (isLoaded(JInternalFrameGroupProperties.class))
        setVisible(JInternalFrameGroupProperties.class);
      else
      {
        u = new JInternalFrameGroupProperties(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_USER_PERM"))
    {
      final JInternalFrameUserPermissions u;
      if (isLoaded(JInternalFrameUserPermissions.class))
        setVisible(JInternalFrameUserPermissions.class);
      else
      {
        u = new JInternalFrameUserPermissions(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_GROUP_PERM"))
    {
      final JInternalFrameGroupPermissions u;
      if (isLoaded(JInternalFrameGroupPermissions.class))
        setVisible(JInternalFrameGroupPermissions.class);
      else
      {
        u = new JInternalFrameGroupPermissions(StrParam);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.commander4j.app.JInternalFramePalletSplit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.