Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Can not focus on TextFiled by Mnemonic key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can not focus on TextFiled by Mnemonic key



Oh Sorry!
Made a mistake.
> I can focus on the TextFiled by the Mnemonic key of associated label.
I CAN NOT focus on the TextFiled by the Mnemonic key of associated label.

> Hi.
>
> 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...
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can not focus on TextFiled by Mnemonic key (From: Zhu Chenyang <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.