aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/macosx
diff options
context:
space:
mode:
authorChristopher Oliver <[email protected]>2009-01-08 17:08:16 +0000
committerChristopher Oliver <[email protected]>2009-01-08 17:08:16 +0000
commitfe77d427ff2dd4f208cb34a7dc694cb024c22a96 (patch)
tree95f71bbda67c9392dedbcc050fcfac5778aaa30f /src/classes/com/sun/javafx/newt/macosx
parent2f986f2052144764d698da05a178d22c4754b563 (diff)
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
Diffstat (limited to 'src/classes/com/sun/javafx/newt/macosx')
-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;