On Tue, 3 Jan 2023 08:28:16 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> When JFilechooser is added to a frame, the control buttons are disabled. 
>> Since in the test the control buttons are not required since JFilechooser is 
>> added to a JFrame and in turn frame disposal is handled by PassFailJFrame. 
>> The fix is to disable JFileChooser control buttons.
>
> Any idea why "Open" button is not shown whereas "Cancel" button is shown? 
> Seems to be some product issue w.r.t button size for "Open" button...

> @prsadhuk the size issue isn't affecting anything since it is disabled inside 
> a JFrame, should it be looked into in a separate bug?

I dont see it disabled..It is just not shown, that too for one button whereas 
other button is shown...Agreed it has no bearing for this test...so it can be 
looked into as separate issue..you can raise a JBS issue and point to that bug 
here..

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

PR: https://git.openjdk.org/jdk/pull/11821

Reply via email to