Environment.setNewLook(false);
Environment.setPlugin(true);
java.util.HashMap hashmap = ApplicationStartupFactory.extractOpts(as);
if (updateViewClosure!=null) hashmap.put("updateViewClosure", updateViewClosure);
ApplicationStartupFactory applicationstartupfactory = new ApplicationStartupFactory(hashmap);
return applicationstartupfactory.instanceFromNewSession(frame, true);
}
}