It seems that the mnemonic key is always set as the 1st character for "Activate" button.
It will not be valid when the label is localized. Please use '&' and org.openide.awt.Mnemonics.setLocalizedText()
to set mnemonic like
+LBL_Download=&Download and Install
+ org.openide.awt.Mnemonics.setLocalizedText(infoLabel, lblMsg);
+ org.openide.awt.Mnemonics.setLocalizedText(downloadButton, btnMsg);
Created attachment 76699 [details]
proposed patch, could you evaluate?
Note that according to the latest UI spec the Activate button should be removed...
I will apply the patch for the time being. Bear in mind that Activate button will be perhaps removed, as Tomas noted. Thanks for the patch.
Thanks for the patch. Applied.
Integrated into 'main-golden', will be available in build *200903040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Pavel Flaska <email@example.com>
Log: #158135: Mnemonic. Applied Masaki's patch.