<Swing Dev> [14] RFR JDK-8223788 - [macos] JSpinner buttons in JColorChooser dialog may capture focus using TAB Key
Tejpal Rebari
tejpal.rebari at oracle.com
Fri Dec 6 07:05:05 UTC 2019
Hi Sergey,
> On 06-Dec-2019, at 4:43 AM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>
> Hi, Tejpal.
>
> Are you sure that it will be possible to change the value of the
> JSpinner and
It is possible to change the value of JSpinner after the fix.
The Values can be changed by clicking on the JSpinner editor and type (legal values),press up/down keys or mouse click on the JSpinner Buttons.
> navigate over JSpinner and its buttons by the keyboard
> after this fix?
Navigation over JSpinner editor is possible by keyboard after the fix.
Before the fix, is we are inside a JSpinner editor and press TAB key the focus disappears and it is captured by the JSpinner Button which is not focusable by mouse click.
After the fix the focus directly goes to the second JSpinner editor.
I have ran SwingSet2 demo -> JColorChooser -> Background -> HSV for Testing JSpinner.
Regards
Tejpal
> On 12/4/19 10:25 pm, Tejpal Rebari wrote:
>> 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.
>
>
>
>
>
> --
> Best regards, Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191206/e9c95f10/attachment.html>
More information about the swing-dev
mailing list