<Swing Dev> [jdk16] RFR: 8259237: Demo selection changes with left/right arrow key. No need to press space for selection. [v4]
Pankaj Bansal
pbansal at openjdk.java.net
Tue Jan 12 05:56:16 UTC 2021
On Tue, 12 Jan 2021 05:07:10 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > I did not add radio button to spec as RadioButton are also ToggleButton only. But yes, I will highlight that. So I will update the spec as below. Hope that is ok.
> >
> > * Find the new toggle/radio button that focus needs to be
> > * moved to in the group, select the button
>
> Also please add a comment of why we need to use the setPressed/setArmed it seems unrelated to the selection of the button, and is not described anywhere.
Done, please have a look.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/99
More information about the swing-dev
mailing list