JDK-8278821 : [8u] Initial focus should be on selected radio button
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u311
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-12-14
  • Updated: 2021-12-14
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 8
8-poolUnresolved
Related Reports
Relates :  
Relates :  
Description
When a frame opens and the first component in the frame is a radio button group, the initial focus is on the first radio button irrespective whether it's selected or not.

The focus should be on the selected radio button in the radio button.

The workaround is to request focus for the selected button explicitly.

Please refer to the attached sample app which demonstrates the problem and the workaround.