Esempio n. 1
0
 static {
   /* ensure that the necessary native libraries are loaded */
   NativeLibLoader.loadLibraries();
   if (!GraphicsEnvironment.isHeadless()) {
     initIDs();
   }
 }
Esempio n. 2
0
 static {
   /* ensure that the necessary native libraries are loaded */
   NativeLibLoader.loadLibraries();
   if (!GraphicsEnvironment.isHeadless()) {
     initIDs();
   }
   final Toolkit tk = Toolkit.getDefaultToolkit();
   if (tk instanceof SunToolkit) {
     cachedNumberOfButtons = ((SunToolkit) tk).getNumberOfButtons();
   } else {
     // It's expected that some toolkits (Headless,
     // whatever besides SunToolkit) could also operate.
     cachedNumberOfButtons = 3;
   }
 }
 static {
   /* ensure that the necessary native libraries are loaded */
   NativeLibLoader.loadLibraries();
   initIDs();
 }
Esempio n. 4
0
 static {
   NativeLibLoader.loadLibraries();
   initIDs();
 }
 /*     */ static
 /*     */ {
   /*  57 */ NativeLibLoader.loadLibraries();
   /*     */ }