< prev index next >
src/java.desktop/windows/classes/sun/awt/PlatformGraphicsInfo.java
Print this page
*** 24,40 ****
--- 24,45 ----
*/
package sun.awt;
import java.awt.GraphicsEnvironment;
+ import java.awt.Toolkit;
public class PlatformGraphicsInfo {
public static GraphicsEnvironment createGE() {
return new Win32GraphicsEnvironment();
}
+ public static Toolkit createToolkit() {
+ return new sun.awt.windows.WToolkit();
+ }
+
public static boolean getDefaultHeadlessProperty() {
// On Windows, we assume we can always create headful apps.
// Here is where we can add code that would actually check.
return false;
}
< prev index next >