What is the difference between "jTextField" and "jPasswordField"??

25th Mar 2017, 3:41 PM
Rajan Sharma
2 Answers
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 :- *********
25th Mar 2017, 4:01 PM
Meharban Singh
Meharban Singh - avatar
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.
20th Feb 2019, 12:04 PM
Omkar Sahu