On Mon, 13 Feb 2023 09:19:05 GMT, Prasanta Sadhukhan <[email protected]>
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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one
> additional commit since the last revision:
>
> Test update
Marked as reviewed by aivanov (Reviewer).
test/jdk/javax/swing/JFileChooser/JFileChooserFontReset.java line 76:
> 74: }
> 75: System.out.println("");
> 76: System.out.println("");
Suggestion:
System.out.println();
System.out.println();
The empty string parameter is redundant.
-------------
PR: https://git.openjdk.org/jdk/pull/12180