Create a screenshot of the execution of the implementation

Assignment Help JAVA Programming
Reference no: EM131308943

This assignment consists of two sections:

• Java program file(s)

• A screenshot of the execution and source code of your Java program

Label each file name according to the section of the assignment for which it is written. Put both sections together in a single zip file, and submit the file.

This assignment is a modification of Assignment 1. The main difference is that instead of using the System.in.* and System.out.* methods, your will be using the JOptionPane class for all the inputs / outputs.

Section 1: Java Program File(s)

Modify the Java program that you created from Assignment 1. According to your design, the program must:

• Use the JOptionPane class to create a driver program to test your Assignment 1 InsuranceAgentApp Java application.
• Display a new driver test program's user interface (The interface should look like the image shown below):

This assignment consists of two (2) sections:

• Java program file(s)

• A screenshot of the execution and source code of your Java program

Label each file name according to the section of the assignment for which it is written. Put both sections together in a single zip file, and submit the file.

This assignment is a modification of Assignment 1. The main difference is that instead of using the System.in.* and System.out.* methods, your will be using the JOptionPane class for all the inputs / outputs.

Section 1: Java Program File(s)

Modify the Java program that you created from Assignment 1. According to your design, the program must:

• Use the JOptionPane class to create a driver program to test your Assignment 1 InsuranceAgentApp Java application.
• Display a new driver test program's user interface (The interface should look like the image shown below):

The new driver test program's user interface from Question 1b must:

• Include a loop to display the user interface until the user clicks the Quit button.

• Instantiate a PropertyInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Property button.

• Instantiate an AutomobileInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Automobile button.

• Instantiate a TravelInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Travel button.

• Display the quote (totalPremium in the InsuranceAgentApp class) when the user clicks the "Get a Quote" button.

• End when the user clicks the "Quit" button.

Section 2: Screenshot of the Execution of the Implementation

• Create a screenshot of the execution and include a copy of source code of the implementation.

• Create a screenshot of the execution of the implementation of your Java program. Note: Click here if you need a tutorial on taking a screenshot.

• Submit a copy of source code of the implementation.

Section 1 and Section 2 will be graded based on the following:

1. The program must compile, execute, produce correct results, and meet all of the specifications stated in Section 1. Additionally, you must:

2. Organize the code for user readability.

3. Organize the code for reusability.

4. Organize the code for efficiency.

5. Provide documentation with embedded comments for reader understanding.

The specific course learning outcomes associated with this assignment are:

• Compare and contrast abstract and concrete data types.
• Apply the Java concepts of file input / output.
• Design programs that handle events from user-interface components.
• Use technology and information resources to research issues in Java programing.

The new driver test program's user interface from Question 1b must:

• Include a loop to display the user interface until the user clicks the Quit button.

• Instantiate a PropertyInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Property button.

• Instantiate an AutomobileInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Automobile button.

• Instantiate a TravelInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Travel button.

• Display the quote (totalPremium in the InsuranceAgentApp class) when the user clicks the "Get a Quote" button.

• End when the user clicks the "Quit" button.

Section 2: Screenshot of the Execution of the Implementation

• Create a screenshot of the execution and include a copy of source code of the implementation.

• Create a screenshot of the execution of the implementation of your Java program. Note: Click here if you need a tutorial on taking a screenshot.

• Submit a copy of source code of the implementation.

Section 1 and Section 2 will be graded based on the following:

1. The program must compile, execute, produce correct results, and meet all of the specifications stated in Section 1. Additionally, you must:

2. Organize the code for user readability.

3. Organize the code for reusability.

4. Organize the code for efficiency.

5. Provide documentation with embedded comments for reader understanding.

The specific course learning outcomes associated with this assignment are:

• Compare and contrast abstract and concrete data types.
• Apply the Java concepts of file input / output.
• Design programs that handle events from user-interface components.
• Use technology and information resources to research issues in Java programing.

Reference no: EM131308943

Questions Cloud

Use footnotes to document sources : Use footnotes to document sources. Assume you are writing a report and have used the given secondary sources.
What might be reasonable costs of capital for average : Suppose a firm estimates its WACC to be 10%. Should the WACC be used to evaluate all of its potential projects, even if they vary in risk? If not, what might be “reasonable” costs of capital for average-, high-, and low-risk projects? Would the savin..
Men and women nonverbal behavior : Consider men's and women's nonverbal behavior. Does the concept of display rules help you explain any differences between the sexes?
Describe the steps to the standard agenda : List and describe the four sources of Power in Interpersonal Relationships. Provide a detailed example for each source of power. List and describe in detail the two dimensions to organizational politics, both of which relate to Communication. For e..
Create a screenshot of the execution of the implementation : Create a screenshot of the execution of the implementation of your Java program. Note: Click here if you need a tutorial on taking a screenshot.
Analyze the effectiveness of three individuals : Analyze the effectiveness of these three individuals. How profitable are the firms they head in relation to others in the industry?
Reports total operating revenues : Hospital A's reports total operating revenues of $1 million and net income of $15,000. Hospital B reports total operating revenues of $1milliin and new income of $10,000. hospital b's accounts receivable must be higher than Hospital A's accounts rece..
Evaluate three to five keyboarding software programs : Identify and evaluate three to five keyboarding software programs that meet these criteria, and write a report recommending the best one to Underwood.
How will this change impact effectiveness of fiscal policy : All else equal, what effect will an expansionary fiscal policy have on the money market, and how will this change impact the effectiveness of the fiscal policy? Draw a graph to illustrate your answer.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Where the computer stores the list of exceptions

The call stack is where the computer stores the list of exceptions. Overloaded methods have the same name and parameter lists

  Task 1university grading system maintains number of tables

task 1university grading system maintains number of tables to store retrieve and manipulate student marks. these tables

  Solve the currently very un-pc cigarette smokers problem

Write solution to solve the currently very un-PC"cigarette smokers problem" in java using Java threads, and monitors (using the "synchronized" keyword) (If it bothers your PC sensibilities, think of it at the Pot-smokers problem and then it is all pr..

  Write a java code to count number of capital letters in line

Write a java codenpseudo-code to count the number of capital letters in a line of text. How many comparisons does it do? What is the fewestnumber of increments it might do? What is the largest number?

  Program to calculate the payment amount for 3 mortgage loans

Write the program in Java (without a graphical user interface) and have it calculate the payment amount for 3 mortgage loans

  What is the relationship between an exception and signaling

What is the relationship between an exception, signaling and an exception handler

  Write an algorithm for fining the middle node

Write an algorithm for fining the middle node of a doubly linked list given both the head and the tail of the list.And Write a  recursive  java function that counts the number of nodes in a circularly linked list.

  Problem regarding the java memory model

Draw a box-and-arrow illustration showing the order constraints on the memory actions (read, load, use, assign,store, write) associated with the four assignments that appear in the two threads (you do not need to show these actions for the two assg..

  Validation and event handling in javascrip

To complete this project you will write and submit one HTML file containing embedded CSS and JavaScript. The file will be called lab2.html. This file contains a registration form, which can be styled any way you like subject to the requirements be..

  Design a java program to accept income from the user

Design a Java program to accept income from the user; compute the income tax to be paid and display the income and the tax payable on the screen

  Program that asks how many automobiles are to be described

Write a program that asks the user how many automobiles are to be described, and for each automobile it inputs the user's selection of make and color.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd