Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyboard shortcut problems




On Sep 29, 2004, at 11:54 AM, Emile Schwarz wrote:


I read once more Henry’s message (just before hitting the reply button) and definitely, he is right, but his description apply to a Windows machine. Using Alt (instead of Option) make me feels that. Running Windows XP, the user press Alt were the Macintosh user press Command. Here is the lying :(.
I may be wrong, but when the software runs under Mac OS, the keyboard shortcuts must use Command instead of Alt (Mac OS says Option where Windows says Alt).

Actually, Control under windows is more equivalent to Command (aka Meta) in OSX, that is, as an accelerator key modifier. Java will handle this under the covers for you if you use Toolkit.getMenuShortcutKeyMask().


Alt in Java is used as a focus accelerator (meaning the alt-KEY combination moves focus somewhere) regardless of platform (native w32 apps sometime use this, most OSX apps don't). In general, Alt under w32 is used for keyboard traversal rather than for accelerator keys, although there's nothing to stop it from being used as one.

X11-based systems (linux, un*x) used to use Alt as an accelerator, but most UIs now seem to follow w32 usage.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: keyboard shortcut problems (From: Emile Schwarz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.