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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education