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