RFR: 6741930: JOptionPane doesn't honour Focus Traversal Policy
Sergey Bylokhov
serb at openjdk.org
Wed Feb 18 05:03:11 UTC 2026
On Tue, 17 Feb 2026 02:00:19 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> I believe it is honoring that too. It will check and requestFocus to `selectInitialValue(op)` initialValue and then fallback to `initialFocusComponent` if it is not set..
The check for hasCustomComponents bypasses the use of initialFocusComponent, so we need to update the specification one way or another. we need to [decide](https://bugs.openjdk.org/browse/JDK-6741930?focusedId=12228349&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-12228349) what behavior is correct.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29738#issuecomment-3918652268
More information about the client-libs-dev
mailing list