Integrated: 6753661: JFileChooser font not reset after Look & Feel change
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Feb 20 08:22:42 UTC 2023
On Wed, 25 Jan 2023 06:45:53 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Issue is observed that after changing the Look & Feel from Metal to Nimbus and back to Metal, the Nimbus font continues to be used by a JFileChooser.
> This is because Synth `installDefaults `methods set the font, but its inverse methods `uninstallDefaults `do not remove them.
> Fix is made to reset the font if it is set by L&F.
This pull request has now been integrated.
Changeset: 432cf68c
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/432cf68c4dd1dcce478fccb85163aa0d824474d7
Stats: 84 lines in 2 files changed: 84 ins; 0 del; 0 mod
6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
-------------
PR: https://git.openjdk.org/jdk/pull/12180
More information about the client-libs-dev
mailing list