On Wed, 25 Jan 2023 06:45:53 GMT, Prasanta Sadhukhan <psadhuk...@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. test/jdk/javax/swing/JFileChooser/JFileChooserFontReset.java line 36: > 34: public class JFileChooserFontReset { > 35: public static void main(String args[]) throws Exception { > 36: > UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); Is it possible to test all installed L&F on the system? ------------- PR: https://git.openjdk.org/jdk/pull/12180