<Swing Dev> Request for review fo bug JDK-8032568 Test javax/swing/JInternalFrame/8020708/bug8020708.java fails on Windows virtual hosts
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Fri Sep 4 14:34:25 UTC 2015
On 9/3/2015 9:15 AM, Rajeev Chamyal wrote:
> Hi,
>
> Please review the following fix for jdk9:
>
> Bug:https://bugs.openjdk.java.net/browse/JDK-8032568
>
> Webrev :
> http://cr.openjdk.java.net/~psadhukhan/rajeev/8032568/webrev.00/
> <http://cr.openjdk.java.net/%7Epsadhukhan/rajeev/8032568/webrev.00/>
>
> Translation team has changed the JInternalFrame close mnemonic character from C to different character for different languages.
> For example in German close mnemonic is now S and for French its now F. To fix the issue we are now finding the correct mnemonic character and passing it to robo.
>
It should be possible to get the internal frame mnemonic by
"InternalFrameTitlePane.closeButton.mnemonic" key.
You could look at the UIDefaults.TextAndMnemonicHashMap class for
details.
Thanks,
Alexandr.
> Regards,
> Rajeev Chamyal
>
More information about the swing-dev
mailing list