From fe77d427ff2dd4f208cb34a7dc694cb024c22a96 Mon Sep 17 00:00:00 2001 From: Christopher Oliver Date: Thu, 8 Jan 2009 17:08:16 +0000 Subject: implement setTitle git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1842 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/javafx/newt/macosx/MacWindow.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/classes/com/sun/javafx/newt') diff --git a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java index 1eff34b79..0008e4671 100755 --- a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java +++ b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java @@ -187,6 +187,13 @@ public class MacWindow extends Window { this.visible = visible; } + + public void setTitle(String title) { + super.setTitle(title); + if (nativeWindow != 0) { + setTitle0(nativeWindow, title); + } + } public void setSize(int width, int height) { this.width = width; -- cgit v1.2.3