*/
private static void startGUI(String guiName, String[] args) {
megamek.debug.Assert.assertTrue(guiName != null,
"guiName must be non-null"); //$NON-NLS-1$
megamek.debug.Assert.assertTrue(args != null, "args must be non-null");
IMegaMekGUI mainGui = MegaMek.getGui(guiName);
if (mainGui == null) {
MegaMek.displayMessageAndExit(UNKNOWN_GUI_MESSAGE + guiName);
} else {
StringBuffer message = new StringBuffer("Starting GUI "); //$NON-NLS-1$
message.append(guiName).append(". "); //$NON-NLS-1$
MegaMek.dumpArgs(message, args);
MegaMek.displayMessage(message.toString());
mainGui.start(args);
}
}