This question, Masking password input from the console : Java, addresses using the Console class to hide input as asterisks.  How can this be done in a Swing GUI, where input is entered into a JTextArea, rather than the console?
            Asked
            
        
        
            Active
            
        
            Viewed 225 times
        
    0
            
            
        - 
                    3Use this? `JPasswordField` http://docs.oracle.com/javase/7/docs/api/javax/swing/JPasswordField.html – 3kings Nov 17 '15 at 00:58
- 
                    @3kings post as answer... – djechlin Nov 17 '15 at 00:59
- 
                    @djechlin as you wish – 3kings Nov 17 '15 at 01:05
1 Answers
2
            You can Use this Swing component instead.
JPasswordField
http://docs.oracle.com/javase/7/docs/api/javax/swing/JPasswordField.html
 
    
    
        3kings
        
- 838
- 2
- 13
- 28
 
    