Package com.commander4j.app

Examples of com.commander4j.app.JInternalFrameQMSampleLabel


      }
    }

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

    if (optionName.equals("FRM_ADMIN_LANGUAGE_EDIT"))
    {
      final JInternalFrameLanguageProperties u;
      if (isLoaded(JInternalFrameLanguageProperties.class))
        setVisible(JInternalFrameLanguageProperties.class);
      else
      {
        u = new JInternalFrameLanguageProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_UOM"))
    {
      final JInternalFrameMaterialUomAdmin u;
      if (isLoaded(JInternalFrameMaterialUomAdmin.class))
        setVisible(JInternalFrameMaterialUomAdmin.class);
      else
      {
        u = new JInternalFrameMaterialUomAdmin(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_UOM_EDIT"))
    {
      final JInternalFrameMaterialUomProperties u;

      {
        u = new JInternalFrameMaterialUomProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH_EDIT"))
    {
      final JInternalFrameMaterialBatchProperties u;

      {
        u = new JInternalFrameMaterialBatchProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION_EDIT"))
    {
      final JInternalFrameMaterialLocationProperties u;
      if (isLoaded(JInternalFrameMaterialLocationProperties.class))
        setVisible(JInternalFrameMaterialLocationProperties.class);
      else
      {
        u = new JInternalFrameMaterialLocationProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_INTERFACE_EDIT"))
    {
      final JInternalFrameInterfaceProperties u;
      if (isLoaded(JInternalFrameInterfaceProperties.class))
        setVisible(JInternalFrameInterfaceProperties.class);
      else
      {
        u = new JInternalFrameInterfaceProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

  }
View Full Code Here


      }
    }

    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_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

    mod.setModuleId(optionName);
    mod.getModuleProperties();

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

    if (optionName.equals("FRM_ADMIN_MATERIAL_UOM"))
    {
      final JInternalFrameMaterialUomAdmin u;
      if (isLoaded(JInternalFrameMaterialUomAdmin.class))
        setVisible(JInternalFrameMaterialUomAdmin.class);
      else
      {
        u = new JInternalFrameMaterialUomAdmin(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_UOM_EDIT"))
    {
      final JInternalFrameMaterialUomProperties u;
      if (isLoaded(JInternalFrameMaterialUomProperties.class))
        setVisible(JInternalFrameMaterialUomProperties.class);
      else
      {
        u = new JInternalFrameMaterialUomProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH_EDIT"))
    {
      final JInternalFrameMaterialBatchProperties u;
      if (isLoaded(JInternalFrameMaterialBatchProperties.class))
        setVisible(JInternalFrameMaterialBatchProperties.class);
      else
      {
        u = new JInternalFrameMaterialBatchProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

    if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION_EDIT"))
    {
      final JInternalFrameMaterialLocationProperties u;
      if (isLoaded(JInternalFrameMaterialLocationProperties.class))
        setVisible(JInternalFrameMaterialLocationProperties.class);
      else
      {
        u = new JInternalFrameMaterialLocationProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }
   
    if (optionName.equals("FRM_ADMIN_INTERFACE_EDIT"))
    {
      final JInternalFrameInterfaceProperties u;
      if (isLoaded(JInternalFrameInterfaceProperties.class))
        setVisible(JInternalFrameInterfaceProperties.class);
      else
      {
        u = new JInternalFrameInterfaceProperties(StrParam1, StrParam2);
        u.setTitle(mod.getDescription());
        displayForm(u, optionName);
      }
    }

  }
View Full Code Here

TOP

Related Classes of com.commander4j.app.JInternalFrameQMSampleLabel

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.