static synchronized void loadLibrary() { if (loaded) return; loaded = true; /* * Note that the jawt library is loaded explicitly * because it cannot be found by the library loader. * All exceptions are caught because the library may * have been loaded already. */ try { System.loadLibrary("jawt"); } catch (Throwable e) { } Library.loadLibrary("swt-awt"); }
static { Library.loadLibrary("swt-cocoa"); // $NON-NLS-1$ WebInitForCarbon(); }
static { Library.loadLibrary("swt-atk"); }
static { Library.loadLibrary("swt-gdip"); // $NON-NLS-1$ }