// FIXME put the splash screen back in
if (Log.on) Log.log(Main.class, "loading xwar");
- Res rr = Res.stringToRes(origin, true);
- XWT xwt = new XWT(rr);
- Template.getTemplate(((Res)rr.get(initialTemplateName)).addExtension(".xwt")).apply(new Box(), null, xwt);
+ final Res rr = Res.stringToRes(origin, true);
+ final XWT xwt = new XWT(rr);
+ final String initialTemplateName_ = initialTemplateName;
- Message.Q.startQ();
+ new Thread(new Runnable() {
+ public void run() {
+ Template.getTemplate(((Res)rr.get(initialTemplateName_)).addExtension(".xwt")).apply(new Box(), null, xwt);
+ Message.Q.startQ();
+ }
+ }).start();
+
+ Platform.running();
}
}