On Tue, 3 Jun 2025 05:44:21 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> am i correct?

Yes.

> you should check for UIManager.getInstalledLookAndFeels() and iterate and 
> test all the installed L&Fs of the current platform

OK, thanks. This is updated.

On my Mac the test output now resembles:

Testing LAF: javax.swing.plaf.metal.MetalLookAndFeel
Testing javax.swing.plaf.basic.BasicPasswordFieldUI@146e76c
selectionStart = 0
selectionEnd = 13
Testing LAF: javax.swing.plaf.nimbus.NimbusLookAndFeel
Testing javax.swing.plaf.synth.SynthPasswordFieldUI@6268e29
selectionStart = 0
selectionEnd = 13
Testing LAF: com.sun.java.swing.plaf.motif.MotifLookAndFeel
Testing com.sun.java.swing.plaf.motif.MotifPasswordFieldUI@76498661
selectionStart = 0
selectionEnd = 13
Testing LAF: com.apple.laf.AquaLookAndFeel
Testing com.apple.laf.AquaTextPasswordFieldUI@508545fe
selectionStart = 0
selectionEnd = 13

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

PR Comment: https://git.openjdk.org/jdk/pull/25443#issuecomment-2941271168

Reply via email to