replacing the dot character in the password field, Jframe, Java

前端 未结 1 414
萌比男神i
萌比男神i 2021-01-24 00:08

I want to ask how can i change the character in the password field that was the point I want to replace with a star ???

i\'m using Jframe, Java

1条回答
  •  死守一世寂寞
    2021-01-24 00:42

    PasswordTextField.setEchoChar('*');

    0 讨论(0)
提交回复
热议问题