home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- import java.security.PrivilegedAction;
-
- final class GraphicsEnvironment$1 implements PrivilegedAction {
- public Object run() {
- String var1 = System.getProperty("java.awt.headless");
- if (var1 == null) {
- if (System.getProperty("javaplugin.version") != null) {
- GraphicsEnvironment.access$002(GraphicsEnvironment.access$102(Boolean.FALSE));
- } else {
- String var2 = System.getProperty("os.name");
- GraphicsEnvironment.access$002(GraphicsEnvironment.access$102(("Linux".equals(var2) || "SunOS".equals(var2)) && System.getenv("DISPLAY") == null));
- }
- } else if (var1.equals("true")) {
- GraphicsEnvironment.access$002(Boolean.TRUE);
- } else {
- GraphicsEnvironment.access$002(Boolean.FALSE);
- }
-
- return null;
- }
- }
-