final LCMC lcmc = AppContext.getBean(LCMC.class);
final GUIData guiData = AppContext.getBean(GUIData.class);
lcmc.initApp(params);
final Application application = AppContext.getBean(Application.class);
final LCMCApplet thisObject = this;
application.invokeLater(new Runnable() {
@Override
public void run() {
if (!application.isEmbedApplet()) {
guiData.setMainFrame(thisObject);
setJMenuBar(lcmc.getMenuBar());
setContentPane(lcmc.getMainPanel());
setGlassPane(lcmc.getMainGlassPane());
lcmc.createAndShowGUI(thisObject);