<Swing Dev> [14] RFR JDK-8223788 - [macos] JSpinner buttons in JColorChooser dialog may capture focus using TAB Key
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Thu Dec 5 10:08:24 UTC 2019
+1 but you need to put noreg-demo label in JBS.
Regards
Prasanta
On 05-Dec-19 11:55 AM, wrote:
> Hi All,
> Please review the following fix for jdk14.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8223788
> Webrev: http://cr.openjdk.java.net/~trebari/swing/8223788/webrev0/
>
> Issue : In AquaLookAndFeel JSpinner buttons inside JColorChooser
> dialog captures focus.
> If we click on the editor inside the JSpinner to make it gain focus
> and then press TAB key, the focus should go to next component but it
> disappears and it is captured by the JSpinner button.By again pressing
> TAB the focus goes to next component.
>
> There is no such issue with other LookAndFeels.
>
> Fix : The focusable property is set to true by default, Fix is to set
> the JSpinner button focusable property false in AquaLookAndFeel.
>
> Testing : Tested In Mac.
>
> Regards
> Tejpal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191205/d45f2026/attachment-0001.html>
More information about the swing-dev
mailing list