CliLogMessageListener l = new CliLogMessageListener();
LogService.addLogMessageListener(l); //to log and output command line parsing
new ArgsParser(args, commonInfo).parse();
LogService.removeLogMessageListener(l);
}
MainFrame gui = new MainFrame(commonInfo);
LogService.addLogMessageListener(gui);
gui.addDialogListener(new DialogListener(){
public void dialogProcessed(DialogEvent evt){
processUIEvent(evt);
}
});
UpdateProgressManager.getProgressManager().addUpgradeUpdateListener(gui);
gui.setVisible(true);
}