Out.error("Main", "Invalid argument: " + args[i]);
System.exit(1);
}
if((cs.isValid() != null) || forceConfig) {
ConfigurationFrame cf = null;
try {
cf = new ConfigurationFrame(cs);
cf.setVisible(true);
} catch(Exception e) {
e.printStackTrace();
String s = cs.isValid();
String error = "There was an error initializing the configuraiton window, ";
if(s == null)
error += "but the configuration was valid.";
else
error += "and the configuration was invalid: " + s;
Out.error("Main", error);
System.exit(1);
}
while(cf.isVisible()) {
Thread.yield();
Thread.sleep(10);
}
String reason = cs.isValid();