Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Buttons and a Login problem

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Buttons and a Login problem

    Hello Group!! I had my first class on "swings" today...I'm given a problem to create two text-boxes,one for getting USERNAME and one for PASSWORD..And i have to create a button called LOGIN(very similar to the one in our site...I can create the two text-boxes and the button,but on clicking on the button,i'm supposed to display if the username and password are matching or give another chance..how am i supposed to do this?Any indication or suggestion will be helpful:-)


    Also,im not sure how to display the characters as '*' when the password is being entered..i need help with that too..

    Thanks;-)


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,341
    Thanks
    56
    Thanked 2,376 Times in 2,346 Posts

    Default Re: Buttons and a Login problem

    You need to read the Java tutorial for much information on how to do all this.
    The Java Tutorials
    The Really Big Index

Similar Threads

  1. Need help in login page in struts
    By vinothkumarrvk in forum Web Frameworks
    Replies: 4
    Last Post: October 4th, 2011, 03:10 PM
  2. Persistent login help
    By sisko in forum Java Networking
    Replies: 0
    Last Post: June 14th, 2011, 03:45 AM
  3. Problem in a web that uses javascript in his login form
    By kamarilla in forum What's Wrong With My Code?
    Replies: 8
    Last Post: June 1st, 2011, 06:47 PM
  4. Help in Login
    By flyingpapers in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 11th, 2011, 01:43 AM
  5. [SOLVED] Problem with swing-buttons
    By Minken in forum AWT / Java Swing
    Replies: 8
    Last Post: October 15th, 2010, 10:20 PM