}
}
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);
}
}
}