aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-15 08:27:09 +0000
committerKenneth Russel <[email protected]>2009-06-15 08:27:09 +0000
commit420e38bcf861e971ad71f6a9dd2f32fc4a6d23f4 (patch)
tree5c7238aa314c3728734de1ac215856ebb53623d6 /src/newt
parent810495ea88a8ee8d29bca84604f77a6871a7bd81 (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')
-rwxr-xr-xsrc/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java3
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());