Пример #1
0
 static {
   /* ensure that the necessary native libraries are loaded */
   NativeLibLoader.loadLibraries();
   if (!GraphicsEnvironment.isHeadless()) {
     initIDs();
   }
 }
Пример #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;
   }
 }
Пример #3
0
 static {
   /* ensure that the necessary native libraries are loaded */
   NativeLibLoader.loadLibraries();
   initIDs();
 }
Пример #4
0
 static {
   NativeLibLoader.loadLibraries();
   initIDs();
 }
Пример #5
0
 /*     */ static
 /*     */ {
   /*  57 */ NativeLibLoader.loadLibraries();
   /*     */ }