< prev index next >
src/java.desktop/macosx/native/libawt_lwawt/awt/CRobotKeyCode.m
Print this page
*** 166,176 ****
return self;
}
-(int) getOSXKeyCodeForJavaKey : (int) javaKey {
id val = [javaToMacKeyMap objectForKey : [NSNumber numberWithInt : javaKey]];
!
if (nil != val) {
return [val intValue];
} else {
return OSX_Undefined;
}
--- 166,176 ----
return self;
}
-(int) getOSXKeyCodeForJavaKey : (int) javaKey {
id val = [javaToMacKeyMap objectForKey : [NSNumber numberWithInt : javaKey]];
!
if (nil != val) {
return [val intValue];
} else {
return OSX_Undefined;
}
< prev index next >