Can I make this password field hidden in Java Swing JTextField
?
I want to set the password always to welcome as shown in below code but in hidden field. Is there an option by which I can achieve this in Java Swing?
jTextField_password.setBounds(new Rectangle(245, 25, 100, 25));
jTextField_password.setText("welcome");