Question: 1 of 2 Assignment 5 : GUI by JOptionPane Due: Thursday July 1 8 A . Requirements Please write a Java program named as DemoYourLastName,
of
Assignment : GUI by JOptionPane
Due: Thursday July
A Requirements
Please write a Java program named as DemoYourLastName, so that it runs as follows:
As the figure below, it requests the user to enter hisher name via a popup window.: Enter your name: John Smith javac D:
Cancel
java DemoAN
javac DemoAN.java
java DemoAN
java DemoAN
After the user provides hisher name and click OK button, the program requests the user to provide hisher income as follows via a popup window:
After the user provides the income and clicks OK button, the program outputs information as follows via a popup window:
of
Assignment : GUI by JOptionPane
Due: Thursday July
A Requirements
Please write a Java program named as DemoYourLastName, so that it runs as follows:
As the figure below, it requests the user to enter hisher name via a popup window.After the user provides hisher name and click OK button, the program requests the user to provide hisher income as follows via a popup window:Enter your incomjavac DGAfter the user provides the income and clicks OK button, the program outputs information as follows via a popup window:
of B Submissions
Your program DemoYourLastNamejava marks
Screenshots to show all the steps marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
