| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 28 Sep 2006, at 15:30, Zhu Chenyang wrote:
I have a prolem with focus. I can focus on the TextFiled by the Mnemonic key of associated label.
Can anyone tell me why? I am a fresh of using Java on Mac OS X.
==================================================== JLabel firstLabel = new JLabel("First Name", JLabel.LEFT); firstLabel.setDisplayedMnemonic(KeyEvent.VK_F); firstLabel.setLabelFor(firstField); ====================================================
This doesn't work...
I don't think it's supposed to work. The Mac doesn't use mnemonics. See
http://developer.apple.com/technotes/tn/tn2042.html
Jerry
_______________________________________________ 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
| References: | |
| >Can not focus on TextFiled by Mnemonic key (From: Zhu Chenyang <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.