On Tue, 4 Mar 2025 05:47:32 GMT, Artem Semenov <aseme...@openjdk.org> wrote:

>> Native spinner and Java spinner is not a similar UI component and the issue 
>> lies in the text component of JSpinner. I don't find any probable solution 
>> in native side implementation of spin box.
>> 
>> This seems a simple workaround fix for the issue right now.
>
> I like this solution, I just ask you to consider replacing the ```instance 
> of``` check with a role comparison…

ohh ok... role comparison will not work here because the role is 
"AccessibleRole.TEXT" and we want to ignore the property change only if the 
parent is a JSpinner with NumberEditor.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23841#discussion_r1978716578

Reply via email to