Write a small application with a GUI that could be the basis of a larger application. Your application will allow someone to change a password. The user will enter the new password into each of two text fields and then press a Change button. You should check whether the strings in the two fields match. If they both match, display the message Your password has been updated. on a result label and make the button invisible. If they don’t match, display the message Sorry, the passwords do not match each other. on the result label.

What will be an ideal response?


See the code in Exercise13.java, PasswordChangeWindow.java.

Computer Science & Information Technology

You might also like to view...

Suppose that the transaction processing system of your university contains a table in which there is one tuple for each current student.

a. Estimate howmuch disk storage is required to store this table. b. Give examples of transactions in the student registration system that have to lock this entire table if a table locking concurrency control is used.

Computer Science & Information Technology

What are some specific questions you would include in a questionnaire? Who should receive the questionnaire?

What will be an ideal response?

Computer Science & Information Technology

Provide an example that explains what is meant by the concept of prior restraint of speech or of the press.

What will be an ideal response?

Computer Science & Information Technology

Values in a selected column may be summarized using any of eight ____________________ functions on the Totals menu from the DESIGN tab.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology