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? ------------- PR: https://git.openjdk.org/jdk/pull/11821
