Question: Project Requirements: Develop a project that provides the functionality show in the images above. The type of shop, items offered and cost is up to

Project Requirements:

Develop a project that provides the functionality show in the images above.

The type of shop, items offered and cost is up to the designer. However each item must have a different cost and the final calculation must be correct.

The images display the minimum requirements, however the following is a list of those minimum requirements.

Welcome panel with the shop name and three item panels with panel labels.

At least one set of Checkboxes that allows multiple selection and one set of Radio buttons that are mutually exclusive.

A Panel that holds the calculate and exit button

A popup box or separate panel that displays the cost of the selections and the tax. Note the tax must be calculated after the items are selected.

Implementation Notes:

Create a project that is object oriented, therefore there should be several classes.

Each student should think about this project and create a design.

Create a UML Class diagram that shows all the classes in your project.

The class diagrams should be created in at multiple iterations.

The first series of iterations should be done before you code and should provide a design that the code follows.

The second series of iterations should be completed after the code is complete and should reflex the EXACT class structure of you final program.

The class diagrams should include

Access specifier (- or +).

All instance fields with type.

All methods with return type and parameter types.

Associations, Generalization (Inheritance) and Aggregation and Multiplicity

Stereotyping Interface or Abstract Classes.

Create a word document explaining the differences and the rational behind the differences between the final result of the two series of iterations. A difference is expected as it is extremely difficult to anticipate every design characteristic prior to coding.

You should be somewhat familiar with UML class diagrams as we addressed single class Class Diagrams in previous project. However a pdf of the book UML Distilled, is also available on elearning and the topic will be address in the projects elluminate session.

Below is an outline of possible structure of the program. This is a basic outline and does not address all the required details. You may want to think about your design first before reading the suggested structure below.

Create a separate class for each Panel except the button panel.

Create an Order Calculation class.

Extends JFrame.

Instance fields are objects of the Panel types.

Adds the Panels to the JFrame using a Boarder Layout

A method to create the Button Panel (Calculate and Exit)

Two inner ActionListener classes that handle the button actions.

A class that contains the main method and simply creates the Order Calculation object.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!