aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/x11/X11Screen.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/javafx/newt/x11/X11Screen.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/x11/X11Screen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/javafx/newt/x11/X11Screen.java b/src/classes/com/sun/javafx/newt/x11/X11Screen.java
index 279507fab..4094c557c 100755
--- a/src/classes/com/sun/javafx/newt/x11/X11Screen.java
+++ b/src/classes/com/sun/javafx/newt/x11/X11Screen.java
@@ -44,7 +44,7 @@ public class X11Screen extends Screen {
public X11Screen() {
}
- public void initNative() {
+ protected void createNative() {
handle = GetScreen(display.getHandle(), index);
if (handle == 0 ) {
throw new RuntimeException("Error creating screen: "+index);