<Swing Dev> [jdk16] RFR: 8259237: Demo selection changes with left/right arrow key. No need to press space for selection. [v4]
Sergey Bylokhov
serb at openjdk.java.net
Tue Jan 12 05:10:01 UTC 2021
On Tue, 12 Jan 2021 04:39:39 GMT, Pankaj Bansal <pbansal 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.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/99
More information about the swing-dev
mailing list