On Wed, 18 Feb 2026 05:00:46 GMT, Sergey Bylokhov <[email protected]> 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.

initialFocusComponent is still used inside hasCustomComponents  check too but 
priority is given to passed op argument first otherwise there's no need to pass 
the argument and we can as well remove the parameter..

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29738#issuecomment-3918707901

Reply via email to