// localEnv =
// (GraphicsEnvironment) Class.forName(nm).newInstance();
// long t1 = System.currentTimeMillis();
// System.out.println("GE creation took " + (t1-t0)+ "ms.");
if (isHeadless()) {
localEnv = new HeadlessGraphicsEnvironment(localEnv);
}
//ae } catch (ClassNotFoundException e) {
// throw new Error("Could not find class: "+nm);
// } catch (InstantiationException e) {
// throw new Error("Could not instantiate Graphics Environment: "