JDK-8226892 : ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u211,13,14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-27
  • Updated: 2019-11-08
  • Resolved: 2019-10-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 14 JDK 8
11.0.7-oracleFixed 14 teamFixed 8u251Fixed
Related Reports
Relates :  
Description
ActionListeners on JRadioButtons don't get notified when selection is changed 
with arrow keys. If radio buttons are part of a button group, using the arrow keys to select a 
radio button does not fire action listeners.

See this closed bug: https://bugs.openjdk.java.net/browse/JDK-6314014 

To reproduce this, run the RadioButtonDemo: 
https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-RadioButtonDemoProject.zip 
Use the up and down arrows to change the selection.  Note that the selection 
appears to change, but the picture doesn't change until the space bar is   
pressed. 

Arrows should either just change the focus without changing  the selection, 
or the selection should fire action listeners. 
Comments
URL: https://hg.openjdk.java.net/jdk/client/rev/0fa6b6461451 User: arapte Date: 2019-10-30 13:24:56 +0000
30-10-2019

The fix review is completed, approved: http://mail.openjdk.java.net/pipermail/swing-dev/2019-October/009805.html http://cr.openjdk.java.net/~arapte/a11y/8226892/webrev.00/
09-10-2019

The issue exists in the latest jdk version(jdk 14)
24-07-2019

Does it affect 11? 13?
03-07-2019