On Fri, 24 Oct 2025 09:29:46 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

>> 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.

it doesnt matter till it start failing in some platform in some circumstances 
:-)

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

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

Reply via email to