encrypt aJTextField

Discussion in 'Programming' started by ellias2007, Oct 27, 2011.

  1. #1
    Hi all,
    my Question is so simple....
    i have a JTextField and i need to encrypt it, so every thing is written inside will show as black Points (since i use it as the password field)
    any SIMPLE idea PLEASE
    Thanks
     
    ellias2007, Oct 27, 2011 IP
  2. ellias2007

    ellias2007 Greenhorn

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Okey Thanks to all ...
    i get the solution ...
    i must use JPasswordField instead of JTextField....
    Thanks
     
    ellias2007, Oct 28, 2011 IP