Is there any way using JTextArea to hide the text when user types??
JTextArea
Kind of like password..
in JTextArea i have..
passw
Simply use JPasswordField a subclass of JTextField. It's very clearly and simply discussed in java doc so I avoid repeat.
JPasswordField
JTextField