equal
deleted
inserted
replaced
394 /* patches/service packs installed */ |
394 /* patches/service packs installed */ |
395 sprops.patch_level = NULL; // leave it undefined |
395 sprops.patch_level = NULL; // leave it undefined |
396 |
396 |
397 /* Java 2D/AWT properties */ |
397 /* Java 2D/AWT properties */ |
398 #ifdef MACOSX |
398 #ifdef MACOSX |
399 // Always the same GraphicsEnvironment and Toolkit on Mac OS X |
399 // Always the same Toolkit on Mac OS X |
400 sprops.graphics_env = "sun.awt.CGraphicsEnvironment"; |
|
401 sprops.awt_toolkit = "sun.lwawt.macosx.LWCToolkit"; |
400 sprops.awt_toolkit = "sun.lwawt.macosx.LWCToolkit"; |
402 |
401 |
403 // check if we're in a GUI login session and set java.awt.headless=true if not |
402 // check if we're in a GUI login session and set java.awt.headless=true if not |
404 sprops.awt_headless = isInAquaSession() ? NULL : "true"; |
403 sprops.awt_headless = isInAquaSession() ? NULL : "true"; |
405 #else |
404 #else |
406 sprops.graphics_env = "sun.awt.X11GraphicsEnvironment"; |
|
407 sprops.awt_toolkit = "sun.awt.X11.XToolkit"; |
405 sprops.awt_toolkit = "sun.awt.X11.XToolkit"; |
408 #endif |
406 #endif |
409 |
407 |
410 #ifdef SI_ISALIST |
408 #ifdef SI_ISALIST |
411 /* supported instruction sets */ |
409 /* supported instruction sets */ |