Create a simple program that includes JFrame, JPanel, JLabel, JFields, JTextArea, and JButton. The program should ask the user for the following input: First name Last name • Middle name • Mobile number • E-mail address. Two (2) frames will be used in this program: OUTPUT and INPUT. The following conditions must be satisfied by the program.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question
100%
4 INPUT
S INPUT
4 INPUT
First Name:
First Name:
First Name:
Juan Felipe
Juan Felipe
Last Name:
Last Name:
Last Name:
E OUTPUT
Dela Cruz
Dela Cruz
Middle Name:
Juan Felipe
Dela Cruz
Middle Name:
Middle Name:
First Name:
Last Name:
Reyes
Reyes
Middle Name: Reyes
Mobile Number:
Mobile Number:
Mobile Number:
Mobile No.:
12345678901
Email Add:
juan.delacruz@gmail.com
|12345678901
12345678901
Email Address:
Email Address:
Email Address:
juan.delacruz@gmail.com
juan.delacruz@gmail.com
Submit
Clear All
Submit
Clear All
Submit
Clear All
Okay
Transcribed Image Text:4 INPUT S INPUT 4 INPUT First Name: First Name: First Name: Juan Felipe Juan Felipe Last Name: Last Name: Last Name: E OUTPUT Dela Cruz Dela Cruz Middle Name: Juan Felipe Dela Cruz Middle Name: Middle Name: First Name: Last Name: Reyes Reyes Middle Name: Reyes Mobile Number: Mobile Number: Mobile Number: Mobile No.: 12345678901 Email Add: juan.delacruz@gmail.com |12345678901 12345678901 Email Address: Email Address: Email Address: juan.delacruz@gmail.com juan.delacruz@gmail.com Submit Clear All Submit Clear All Submit Clear All Okay
Create a simple program that includes JFrame, JPanel, JLabel, JFields, JTextArea, and JButton. The
program should ask the user for the following input:
First name
• Last name
Middle name
• Mobile number
E-mail address.
Two (2) frames will be used in this program: OUTPUT and INPUT. The following conditions must be
satisfied by the program.
Input Frame:
Set the window name to INPUT.
• The input frame should collect all the details listed on Step 2.
It should contain Submit and Clear All buttons.
• When the Submit button is clicked, it should generate the output frame and disable the
Submit button.
• When the Clear All button is clicked, it should clear all the content that were entered
by the user in the input frame, and close the output frame if it is open.
Output Frame:
• Set the window name to OUTPUT.
• The output frame should display all the details that were entered by the user with the
corresponding label.
The output frame should contain an Okay button.
When the Okay button is clicked, it should automatically close the output frame and
clear the content of the input frame.
Note: Clicking the Okay and Clear All buttons will refresh the program and generate the image on the
left under Figure 1.
Transcribed Image Text:Create a simple program that includes JFrame, JPanel, JLabel, JFields, JTextArea, and JButton. The program should ask the user for the following input: First name • Last name Middle name • Mobile number E-mail address. Two (2) frames will be used in this program: OUTPUT and INPUT. The following conditions must be satisfied by the program. Input Frame: Set the window name to INPUT. • The input frame should collect all the details listed on Step 2. It should contain Submit and Clear All buttons. • When the Submit button is clicked, it should generate the output frame and disable the Submit button. • When the Clear All button is clicked, it should clear all the content that were entered by the user in the input frame, and close the output frame if it is open. Output Frame: • Set the window name to OUTPUT. • The output frame should display all the details that were entered by the user with the corresponding label. The output frame should contain an Okay button. When the Okay button is clicked, it should automatically close the output frame and clear the content of the input frame. Note: Clicking the Okay and Clear All buttons will refresh the program and generate the image on the left under Figure 1.
Expert Solution
steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Types of Loop
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT