subject

Project overview: Create a java graphics program that displays an order menu and bill from a Sandwich shop, or any other establishment you prefer. In this program the design is left up to the programmer however good object oriented design is required. Below are two images that should be used to assist in development of your program. Items are selected on the Order Calculator and the Message window that displays the Subtotal, Tax and Total is displayed when the Calculate Button is pressed. You can also combine the two functions in the same panel if you wish.
Project Requirements:
NOTE: USE OF A GUI BUILDER (DRAG AND DROP COMPONENTS) IS NOT ALLOWED.
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.
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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
You know the right answer?
Project overview: Create a java graphics program that displays an order menu and bill from a Sandwi...
Questions