diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 08:27:09 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 08:27:09 +0000 |
commit | 420e38bcf861e971ad71f6a9dd2f32fc4a6d23f4 (patch) | |
tree | 5c7238aa314c3728734de1ac215856ebb53623d6 /src/newt/classes | |
parent | 810495ea88a8ee8d29bca84604f77a6871a7bd81 (diff) |
Added a missed call to makeKeyAndOrderFront found during code
inspection, and corrected an exception detail message
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1954 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/newt/classes')
-rwxr-xr-x | src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java index 86cff2d9f..3583a2442 100755 --- a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java +++ b/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java @@ -183,6 +183,7 @@ public class MacWindow extends Window { private void createWindow(boolean recreate) { if(0!=windowHandle && !recreate) { + makeKeyAndOrderFront(windowHandle); return; } if(0!=windowHandle) { @@ -200,7 +201,7 @@ public class MacWindow extends Window { NSBackingStoreBuffered, getScreen().getIndex(), surfaceHandle); if (windowHandle == 0) { - throw new NativeWindowException("Could create native window "+Thread.currentThread().getName()+" "+this); + throw new NativeWindowException("Couldn't create native window "+Thread.currentThread().getName()+" "+this); } surfaceHandle = contentView(windowHandle); setTitle0(windowHandle, getTitle()); |