Re: RFR: 6753661: JFileChooser font not reset after Look & Feel change [v5]

2023-02-10 Thread Alexey Ivanov
On Fri, 10 Feb 2023 11:44:35 GMT, Prasanta Sadhukhan wrote: >> test/jdk/javax/swing/JFileChooser/JFileChooserFontReset.java line 69: >> >>> 67: Font curFont = fc.getFont(); >>> 68: System.out.println("current font " + curFont); >>> 69:

Re: RFR: 6753661: JFileChooser font not reset after Look & Feel change [v5]

2023-02-10 Thread Prasanta Sadhukhan
On Thu, 9 Feb 2023 20:45:58 GMT, Alexey Ivanov wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Update test > > test/jdk/javax/swing/JFileChooser/JFileChooserFontReset.java line 69: > >> 67:

Re: RFR: 6753661: JFileChooser font not reset after Look & Feel change [v5]

2023-02-09 Thread Alexey Ivanov
On Thu, 9 Feb 2023 02:59:11 GMT, Prasanta Sadhukhan 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 >> in

Re: RFR: 6753661: JFileChooser font not reset after Look & Feel change [v5]

2023-02-08 Thread Prasanta Sadhukhan
> 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 mad