Results 1 to 4 of 4

Thread: security

  1. #1
    danghieu is offline Member
    Join Date
    Apr 2010
    Posts
    11
    Rep Power
    0

    Default security

    i am trying code a simple program. it require to input a string that will be covered as password. but i don't know what API i should use and how to use it . help me please thank!

  2. #2
    ksemeks is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    Are you running a console app or a GUI or something else?

    Anyhow, be sure to check this out:
    http://java.sun.com/developer/techni...ity/pwordmask/

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by danghieu View Post
    i am trying code a simple program. it require to input a string that will be covered as password. but i don't know what API i should use and how to use it . help me please thank!
    Use JPasswordField.

    How to Use Password Fields (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Security
    By manticohd in forum Reviews / Advertising
    Replies: 1
    Last Post: 02-03-2010, 08:17 AM
  2. Security Information
    By saty_32016 in forum CLDC and MIDP
    Replies: 0
    Last Post: 03-05-2009, 08:14 AM
  3. one more try, applets security
    By willemjav in forum Java Applets
    Replies: 0
    Last Post: 03-09-2008, 01:19 PM
  4. Replies: 1
    Last Post: 07-23-2007, 11:59 PM
  5. Acegi Security 1.0.4
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-26-2007, 12:16 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
  •