Is there a standard textfield with password character thingies in it available in Java? Which class is it?
-RJ
Printable View
Is there a standard textfield with password character thingies in it available in Java? Which class is it?
-RJ
awt use to enable you to set an echo character to be used to replace characters typed by the user. I use to set this property often but now im pretty sure that you can use the JPasswordField which is a subclass of JTextField. "*" is the default echo character.
From what i remember there is no constructor that enables you to set the echo character. There is only an empty constructor, one that takes a string, one that takes an integer specifing the number of colums and one that takes bolth as arguements. So you would have to use setechoChar(char c) anyway. :rolleyes: :D
use JPasswordField class and selEchoChar method.
Is there an echo in here?
Is there an echo in here?
i think it's setEchoChar and not selEchoCharQuote:
use JPasswordField class and selEchoChar method
I worked that out, thanks. :pQuote:
Originally posted by DaoK
i think it's setEchoChar and not selEchoChar