On Wed, 18 Feb 2026 05:10:13 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> 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.. That’s the problem: the BasicOptionPaneUI spec says nothing about that parameter (unlike the parent class), and the implementation ignores it, instead checking the inputComponent and then the initialFocusComponent. So the question is: how should the parameter passed to that method be handled, and what priority should it have compared to inputComponent and initialFocusComponent? ------------- PR Comment: https://git.openjdk.org/jdk/pull/29738#issuecomment-3919206719
