Results 1 to 4 of 4
Like Tree2Likes
  • 2 Post By Fubarable

Thread: encrypt a JTextField

  1. #1
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Default encrypt a JTextField

    Hi all,
    my Question is so simple....
    i have a JTextField and i need to encrypt every thing will be written inside (since i use it as the password field)
    any SIMPLE idea
    Thanks

  2. #2
    tnrh1 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    251
    Rep Power
    3

    Default Re: encrypt a JTextField

    It doesn't matters from where it comes, you just have to encrypt the string.
    And if you don't know how too, google it.

    It's your lucky day: A google result

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: encrypt a JTextField

    A SIMPLE idea: don't use a JTextField, use a JPasswordField. That's what they're for.
    tnrh1 and ellias2007 like this.

  4. #4
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Default Re: encrypt a JTextField

    Perfect and soooo simple Solution ... Can i RATE your answer ??!!
    Thanks
    Last edited by ellias2007; 10-28-2011 at 05:37 PM.

Similar Threads

  1. Jackcess Encrypt 1.0.2
    By java software in forum Java Software
    Replies: 0
    Last Post: 10-21-2011, 06:59 PM
  2. encrypt string
    By jperson in forum New To Java
    Replies: 2
    Last Post: 09-30-2011, 05:49 PM
  3. Need Help for encrypt/decrypt.
    By superdhebz in forum New To Java
    Replies: 5
    Last Post: 09-17-2010, 06:26 PM
  4. encrypt a folder
    By subramanya2teja in forum Advanced Java
    Replies: 5
    Last Post: 03-20-2009, 12:27 AM
  5. Replies: 1
    Last Post: 01-30-2009, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •