mod.setModuleId(optionName);
mod.getModuleProperties();
if (optionName.equals("FRM_LABELLER_HISTORY"))
{
final JInternalFrameLabelHistory u;
{
u = new JInternalFrameLabelHistory(StrParam1, StrParam2);
u.setTitle(mod.getDescription() + " [" + StrParam1 + "] " + StrParam2);
displayForm(u, optionName);
}
}
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);
}
}
}