< prev index next >
src/java.desktop/macosx/classes/sun/awt/PlatformGraphicsInfo.java
Print this page
@@ -24,10 +24,11 @@
*/
package sun.awt;
import java.awt.GraphicsEnvironment;
+import java.awt.Toolkit;
import java.security.AccessController;
import java.security.PrivilegedAction;
public class PlatformGraphicsInfo {
@@ -40,10 +41,14 @@
public static GraphicsEnvironment createGE() {
return new CGraphicsEnvironment();
}
+ public static Toolkit createToolkit() {
+ return new sun.lwawt.macosx.LWCToolkit();
+ }
+
/**
* Returns true if the WindowServer is available, false otherwise.
*
* @return true if the WindowServer is available, false otherwise
*/
< prev index next >