From 435ce0a5249ec8bf611cde377f75491840f676be Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 1 Aug 2009 09:16:10 -0700 Subject: Oops: Accidently removed AWT Display selection in NEWT --- src/newt/classes/com/sun/javafx/newt/Display.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/newt/classes/com/sun/javafx/newt/Display.java b/src/newt/classes/com/sun/javafx/newt/Display.java index 04fdb0181..38d0021ce 100755 --- a/src/newt/classes/com/sun/javafx/newt/Display.java +++ b/src/newt/classes/com/sun/javafx/newt/Display.java @@ -52,6 +52,8 @@ public abstract class Display implements Runnable { displayClass = Class.forName("com.sun.javafx.newt.macosx.MacDisplay"); } else if (NativeWindowFactory.TYPE_X11.equals(type)) { displayClass = Class.forName("com.sun.javafx.newt.x11.X11Display"); + } else if (NativeWindowFactory.TYPE_AWT.equals(type)) { + displayClass = Class.forName("com.sun.javafx.newt.awt.AWTDisplay"); } else if (NewtFactory.TYPE_BROADCOM_EGL.equals(type)) { displayClass = Class.forName("com.sun.javafx.newt.opengl.broadcom.BCEGLDisplay"); } else { -- cgit v1.2.3