private Root() {
this.env = new Environment(Environment.getEnvironment());
this.env.setExecutor(QueueExecutor.EXECUTOR);
if (Environment.getEnvironment().getInputFactory() == null) {
Environment.getEnvironment().setInputFactory(new AWTRobotInputFactory());
}
Environment.getEnvironment().setProperty(THEME_FACTORY, ThemeDriverFactory.newInstance());
Environment.getEnvironment().initTimeout(QueueExecutor.QUEUE_THROUGH_TIME);
Environment.getEnvironment().initTimeout(QueueExecutor.QUEUE_IDENTIFYING_TIMEOUT);
wrapper = new SceneWrapper(env);