Project Notes


Project: Password Field sample
Author: JBuilder Team
Company: Inprise/Borland
Description: Example showing how to use a JPasswordField. This sample contains a JButton that displays the password, jbuilder, when clicked. When you successfully enter the password into the JPasswordField, a JOptionPane dialog pops up with a message indicating success. A message is also displayed in the JTextField at the bottom of the frame. If the password is incorrect, both the JOptionPane and the JTextField display an error message.
To run this project, right-click Application1.java in the project pane and choose Run.