equal
deleted
inserted
replaced
46 import sun.awt.motif.MFontConfiguration; |
46 import sun.awt.motif.MFontConfiguration; |
47 import sun.font.Font2D; |
47 import sun.font.Font2D; |
48 import sun.font.FontManager; |
48 import sun.font.FontManager; |
49 import sun.font.NativeFont; |
49 import sun.font.NativeFont; |
50 import sun.java2d.SunGraphicsEnvironment; |
50 import sun.java2d.SunGraphicsEnvironment; |
|
51 import sun.java2d.SurfaceManagerFactory; |
|
52 import sun.java2d.UnixSurfaceManagerFactory; |
51 |
53 |
52 /** |
54 /** |
53 * This is an implementation of a GraphicsEnvironment object for the |
55 * This is an implementation of a GraphicsEnvironment object for the |
54 * default local GraphicsEnvironment used by the Java Runtime Environment |
56 * default local GraphicsEnvironment used by the Java Runtime Environment |
55 * for X11 environments. |
57 * for X11 environments. |
175 } |
177 } |
176 |
178 |
177 return null; |
179 return null; |
178 } |
180 } |
179 }); |
181 }); |
|
182 |
|
183 // Install the correct surface manager factory. |
|
184 SurfaceManagerFactory.setInstance(new UnixSurfaceManagerFactory()); |
|
185 |
180 } |
186 } |
181 |
187 |
182 private static boolean glxAvailable; |
188 private static boolean glxAvailable; |
183 private static boolean glxVerbose; |
189 private static boolean glxVerbose; |
184 |
190 |