diff options
-rwxr-xr-x | src/classes/com/sun/javafx/newt/macosx/MacWindow.java | 7 |
1 files changed, 7 insertions, 0 deletions
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; |