changeset 4909:ac2948107df1 jdk7u4-b225

7124283: [macosx] Can't move focus out of a table with the keyboard. Reviewed-by: anthony, art
author ant
date Thu, 12 Jan 2012 13:32:38 +0300
parents 034394d320df
children 08f0789e1c0b
files src/macosx/native/sun/awt/AWTView.m
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/AWTView.m	Wed Jan 11 20:34:24 2012 +0400
+++ b/src/macosx/native/sun/awt/AWTView.m	Thu Jan 12 13:32:38 2012 +0300
@@ -290,12 +290,18 @@
 }
 
 - (void) keyUp: (NSEvent *)event {
-    [self deliverJavaKeyEventHelper: event];}
+    [self deliverJavaKeyEventHelper: event];
+}
 
 - (void) flagsChanged: (NSEvent *)event {
     [self deliverJavaKeyEventHelper: event];
 }
 
+- (BOOL) performKeyEquivalent: (NSEvent *) event {
+    [self deliverJavaKeyEventHelper: event];        
+    return TRUE;
+}
+
 /**
  * Utility methods and accessors
  */