aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/Display.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/javafx/newt/Display.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/Display.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/javafx/newt/Display.java b/src/classes/com/sun/javafx/newt/Display.java
index 2aa55246f..cd3aa75d0 100755
--- a/src/classes/com/sun/javafx/newt/Display.java
+++ b/src/classes/com/sun/javafx/newt/Display.java
@@ -46,7 +46,7 @@ public abstract class Display {
} else if (NewtFactory.X11.equals(type)) {
displayClass = Class.forName("com.sun.javafx.newt.x11.X11Display");
} else if (NewtFactory.MACOSX.equals(type)) {
- displayClass = Class.forName("com.sun.javafx.newt.macosx.MacOSXDisplay");
+ displayClass = Class.forName("com.sun.javafx.newt.awt.AWTDisplay");
} else {
throw new RuntimeException("Unknown display type \"" + type + "\"");
}