Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI 1302 Principles of Programming In this project, you will develop a graphical user interface (GUI) for new user registration. The GUI can eveloped using

image text in transcribed
image text in transcribed
CSCI 1302 Principles of Programming In this project, you will develop a graphical user interface (GUI) for new user registration. The GUI can eveloped using the NetBeans GUI Builder tool. The GUI will allow a user to enter user name and prossord and conduct the password rule checking (at least one letter and one digit) in the registration process The objective of the project is to test 1. your knowledge of object-oriented programming in Java language. 2, your understanding of GUI and event-driven programming in Java 3. your knowledge of using NetBeans GUI Builder to develop Java SE applications. Create a JFrame Form for new user registration. The registration GUI is shown in Fig. (a). The components include two labels (User Name and Password), one text field for user name input, one password field for password input, two buttons (register and cancel), and one label of message as shown below. The user actions and their corresponding event listener methods are as follows: User Action Listener methods Click cancel button XactionPerformed (X is the cancel button object name): clear the input in the user name text field, and the password field; also clear the message area. XactionPerformed (X is the register button object name): validate the password (has at least one digit and one letter). If the password is valid display message "registration successful" in the message area, as shown in Fig. (b); otherwise display an error message of "a password has at least one digit and one letter" in red color in the message area, as shown in Fig.(c Click register button

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

Which month has the lowest average percentage of returned sales?

Answered: 1 week ago