Tuesday, November 29, 2011

Homework 12 - PwdValidator.java

You are to complete exercise 9.3, p336.

The class name must be PwdValidator and it must execute as a GUI application. You must use regular expressions and the matches method from the String class to complete this assignment.

This program is intended to assist you in becoming familiar with using regular expressions in your code. Do not worry about actual password security. Use the showMessageDialog method to capture the password entered.

Sample Output
Here are some screenshots of my code running.


Valid password


Invalid password

Refer to the deliverables post for comment formatting and required program identification information.

Due Date:
Monday, December 5th, 8:00am