aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/macosx/MacWindow.java7
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;