} catch (Exception e) { throw new AWTError("Cannot load AWT toolkit: " + e.getMessage());
} catch (Throwable t) { AWTError e = new AWTError("Cannot load AWT toolkit: " + toolkit_name); throw (AWTError) e.initCause(t);
	public static Toolkit getDefaultToolkit() {		if (toolkit != null)			return toolkit;		//final String toolkit_name = (String)AccessController.doPrivileged(new GetPropertyAction("awt.toolkit", default_toolkit_name));        final String toolkit_name = "org.jnode.awt.peer.JNodeToolkit";        //final String toolkit_name = "org.jnode.awt.swingpeers.SwingToolkit";		try {			final ClassLoader cl = Thread.currentThread().getContextClassLoader();			final Class cls = cl.loadClass(toolkit_name);			Object obj = cls.newInstance();			if (!(obj instanceof Toolkit))				throw new AWTError(toolkit_name + " is not a subclass of " + "java.awt.Toolkit");			toolkit = (Toolkit) obj;			return toolkit;		} catch (Exception e) {			throw new AWTError("Cannot load AWT toolkit: " + e.getMessage());		}	}