1 Replies - 19010 Views - Last Post: 06 August 2010 - 05:06 AM Rate Topic: -----

#1 Merabu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-April 08

Login form using java in netbeans IDE

Posted 05 August 2010 - 11:16 PM

I have created a login form in netbeans. Problem is i'm not sure of how to link the login form if i press the login button.
Is This A Good Question/Topic? 0
  • +

Replies To: Login form using java in netbeans IDE

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10468
  • View blog
  • Posts: 38,799
  • Joined: 27-December 08

Re: Login form using java in netbeans IDE

Posted 06 August 2010 - 05:06 AM

Link the login form to what? A new JFrame? If you have an ActionListener associated with the login JButton, you can use the actionPerformed() method to validate and respond to the user inputs. There are a bunch of tutorials in the Java Tutorials Section that cover listeners and pbl wrote a snippet on Hiding a Frame and Showing Another.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1