RFR: 6852577: Only for Nimbus LAF UIManager.get("PasswordField.echoChar") is null [v3]
Andrey Turbanov
aturbanov at openjdk.org
Fri Sep 16 08:15:48 UTC 2022
On Wed, 7 Sep 2022 16:23:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Default echo character obtained through `PasswordField.echoChar` UIProperty returns null for Nimbus L&F,
>> which is fixed by adding the default character * in the UIDefault table.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Honour PasswordField.echoChar property
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthPasswordFieldUI.java line 74:
> 72: String prefix = getPropertyPrefix();
> 73: Character echoChar = (Character)UIManager.getDefaults().get(prefix + ".echoChar");
> 74: if(echoChar != null) {
let's add space after `if`
-------------
PR: https://git.openjdk.org/jdk/pull/10035
More information about the client-libs-dev
mailing list