On Fri, 24 Oct 2025 09:26:13 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   volatile
>
> test/jdk/javax/swing/JSlider/bug4382876.java line 64:
> 
>> 62:                 
>> slider.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
>> 63:                 slider.putClientProperty("JSlider.isFilled", 
>> Boolean.TRUE);
>> 64:                 f.add(slider, BorderLayout.CENTER);
> 
> also shouldn't we add the component i.e, slider first to frame and then make 
> it visible? here it is made visible and then slider is added..

It doesn't matter as we wait long enough, it should work both ways.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27959#discussion_r2459512017

Reply via email to