jdk/src/solaris/classes/sun/awt/motif/MToolkit.java
changeset 7932 f4ec6ef455c3
parent 7668 d4a77089c587
child 9035 1255eb81cc2f
equal deleted inserted replaced
7762:6e45e1e87347 7932:f4ec6ef455c3
   117             config = (X11GraphicsConfig) (GraphicsEnvironment.
   117             config = (X11GraphicsConfig) (GraphicsEnvironment.
   118                              getLocalGraphicsEnvironment().
   118                              getLocalGraphicsEnvironment().
   119                              getDefaultScreenDevice().
   119                              getDefaultScreenDevice().
   120                              getDefaultConfiguration());
   120                              getDefaultConfiguration());
   121         }
   121         }
   122 
       
   123         /* Add font properties font directories to the X11 font path.
       
   124          * Its called here *after* the X connection has been initialised
       
   125          * and when we know that MToolkit is the one that will be used,
       
   126          * since XToolkit doesn't need the X11 font path set
       
   127          */
       
   128         X11FontManager.getInstance().setNativeFontPath();
       
   129 
   122 
   130         motifdnd = ((Boolean)java.security.AccessController.doPrivileged(
   123         motifdnd = ((Boolean)java.security.AccessController.doPrivileged(
   131             new GetBooleanAction("awt.dnd.motifdnd"))).booleanValue();
   124             new GetBooleanAction("awt.dnd.motifdnd"))).booleanValue();
   132     }
   125     }
   133 
   126