RFR: 4365952: Cannot disable JFileChooser
Abhishek Kumar
abhiscxk at openjdk.org
Wed Dec 7 14:31:08 UTC 2022
On Wed, 7 Dec 2022 05:48:57 GMT, Tejesh R <tr at openjdk.org> wrote:
> Disable functionality not working for JFileChooser. `public void setEnabled(boolean enabled)` functionality is overridden in JFileChooser class which enable/disable each sub-component of FileChooser.
> The added functionality is tested in mach5 and no regression found. The fix includes automated test which clicks _home_ directory and then compares which default selectedDirectory to check if JFileChooser is disabled. This is tested in mach5 for all platforms with multiple test runs.
Test Verified.
-------------
Marked as reviewed by abhiscxk (Author).
PR: https://git.openjdk.org/jdk/pull/11553
More information about the client-libs-dev
mailing list