Description: Using the JTextField and JPasswordField class to create and operate two text fields. Receiving user input, and when pressed the Enter key will be generated when an ActionEvent. In the event handler to check the user name entered by the user name and password are correct, a message will pop up dialog box for the appropriate response. And procedures for testing and analysis.
File list (Check if you may need any files):
JTextFieldDemo.txt