aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/NewtFactory.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-10-16 01:25:02 +0000
committerKenneth Russel <[email protected]>2008-10-16 01:25:02 +0000
commite55ba56033cb9193d019cda701673430c919824c (patch)
tree314b5fa33a555c2b144c65e884b398c9bc11e472 /src/classes/com/sun/javafx/newt/NewtFactory.java
parented9fb0e76316689e0df5952a1636240b217ea5f6 (diff)
Patch from Chris Oliver to enable undecorated frames and setting of
title -- not implemented on all platforms yet git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1773 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/javafx/newt/NewtFactory.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/NewtFactory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classes/com/sun/javafx/newt/NewtFactory.java b/src/classes/com/sun/javafx/newt/NewtFactory.java
index feb623caa..6f6eeb02d 100755
--- a/src/classes/com/sun/javafx/newt/NewtFactory.java
+++ b/src/classes/com/sun/javafx/newt/NewtFactory.java
@@ -106,6 +106,10 @@ public abstract class NewtFactory {
return Window.create(getWindowType(), screen, visualID);
}
+ public static Window createWindow(Screen screen, long visualID, boolean undecorated) {
+ return Window.create(getWindowType(), screen, visualID, undecorated);
+ }
+
/**
* Create a Window entity using the given implementation type, incl native creation
*/