0
What is the difference between "jTextField" and "jPasswordField"??
2 Answers
0
Text field allows to enter and display data just as I am writing.
Pass... stores data but displays it in encrypted mannar, just as whenyou enter a password to a site, it is displayed like :- *********
0
jTextField - This control is used to input a small amount of text from the user,and the text that the user enters will be visible as it is typed.
jPasswordField - This control also inputs text from the user, but it uses some character to obscure the text that is input. In simple words,the text entered in this field is not directly visible to the user,just like we see while filling the password column during logging in into any website.