logger.error("Failed to set Look and Feel", e);
}
UIManager.getLookAndFeelDefaults().put("ClassLoader", stendhal.class.getClassLoader());
final Profile profile = Profile.createFromCommandline(args);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
if (profile.isValid()) {
new LoginDialog(null, client).connect(profile);
} else {
new StendhalFirstScreen(client);
}
}