Integrated: 8299522: Incorrect size of Approve button in custom JFileChooser

Tejesh R tr at openjdk.org
Tue Feb 21 05:22:45 UTC 2023


On Mon, 9 Jan 2023 10:24:49 GMT, Tejesh R <tr at openjdk.org> wrote:

> FileChooser Open/Approve button size is shown incorrectly when no Approve button text is set in `CUSTOM_DIALOG` type. Reason being that no default Approve Button text is returned during Dialog Type Property change. Since `null` is returned as Button string the Button size is incorrectly shown. The fix here addresses the issue by adding a default Approve Button Text when no text is set explicitly in case of `CUSTOM_DIALOG` type.
> Automated test is attached which has been tested with multiple test runs.

This pull request has now been integrated.

Changeset: 29f392e4
Author:    Tejesh R <tr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/29f392e4344e467882c36b5737d432b2d0ee7ebb
Stats:     109 lines in 2 files changed: 103 ins; 0 del; 6 mod

8299522: Incorrect size of Approve button in custom JFileChooser

Reviewed-by: aivanov, abhiscxk, dnguyen

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

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



More information about the client-libs-dev mailing list