Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, you will let your creative juices run wild! You will design and implement a GUI for the Caffeinated Geek using the concepts

In this assignment, you will let your creative juices run wild! You will design and implement a GUI for the Caffeinated Geek using the concepts that you learned in Topics 9 and 10. You may build on your Assignment 2 submission as your starting point or start from scratch.
Before you start this task, attempt the Topic 9 and 10 tutorials yourself. Have the associated lecture code examples on hand too, as these contain a lot of code that you can repurpose (just make sure that you reference the source of the code in your Javadoc!). Ensure that your code meets the marking guidelines provided below.
Once you have completed your GUI, you will record a 4-5:30 minute video demonstrating your GUI and explaining your design choices, according to the marking guidelines provided below. You should explain your choices as you run the test cases to maximise your usage of the allocated time.
Note: whether or not you choose to include images (e.g. like SeekAGeek or FindAPet) is fine but if you do choose to include images, ensure that you attribute your source correctly, e.g., at the top of the class that uses the images, include a short statement in a block comment noting where/when/how you sourced them.
Marking Guidelines
Code 17
My code does not compile in Java 17+(stable (NOT beta) installation with preview features disabled)
My code contains package statements
I have removed my import statements
My submission does not include a video OR my video is not audible/clear.
My code does not contain any documentation (Javadoc)
Automatic ZERO grade
My GUI has a minimum of 3 views including 1) a search view, 2) a results view and 3) an input form view (for user details).
1.5
I have correctly used JFrame and JPanel, as well as at least THREE other components, e.g. JTextField, JRadioButton, JList, JComboBox, JButton, etc.
1.5
I have used at least two types of event listeners.
1
I have provided thorough user input validation with clear on-panel or modal dialog feedback where appropriate, including ensuring that:
My price range filter:
Allows decimal input.
Does not permit non-digit characters.
Ensures that input is positive.
Ensures that the max value is not below the min value.
I have mandated that the user select either 1) tea or 2) coffee prior to running a search.
2
I have ensured that selection of all other filters (number of shots, temperature of tea, steeping time, milk and sugar) is optional by not mandating user entry/selection of a choice OR by providing an 'I don't mind' or 'skip' option.
0.5
I have enabled selection of NONE, ONE, MORE THAN ONE and SKIP for extras. 0.5
I have used appropriate containers and components to allow users to view all their search results (e.g. JScrollPane), having the options to select an item, or alternatively, return to the search filters view.
1
I have used appropriate containers and components to create a form that enables the user to enter their contact details (name and phone number and/or email) and a customization message. I have ensured input validation on all user input.
1
I have written the information collected using the form, along with the user's chosen item name and identifier to a file, using the format below:
Order details:
Name: Dr. Walter Shepman
Order number: 0486756465
Item: Mocha (30213)
Milk: Full-cream
1
I have designed a visually appealing GUI, using appropriate layout managers, graphics, media and spacing of components (I don't have large areas of blank space or components misaligned and packed together).2type,menu item ID,menu item name,price,numberOfShots,temperature (celsius),steeping time (mins),sugar,milk,extras,description
coffee,30210,Cappuccino,4.50,2,NA,NA,yes,[Full-cream,Soy],[Chocolate powder, Cinnamon],[Classic Italian espresso drink with steamed milk foam and a sprinkle of chocolate powder and cinnamon.]
coffee,30211,Latte,5.00,1,NA,NA,no,[Full-cream,Skim],[Vanilla syrup],[Smooth espresso with steamed milk and a touch of vanilla syrup.]
tea,38039,Chai Tea,5.00,NA,100,4,yes,[Full-cream,Soy,Skim,Oat],[Honey,agave syrup,cinnamon stick],[Spiced black tea originating from India, including cinnamon, cardamom, ginger, and cloves.]
coffee,30212,Espresso,3.00,1,NA,NA,yes,[],[],[Pure and intense shot of espresso, perfect for a quick geek-me-up.]
tea,32544,Earl Grey,3.50,NA,95,5,no,[],[Lemon,ice,honey,vanilla extract],[Black tea flavored with oil of bergamot, a citrus fruit.]
coffee,30222,Espresso Double,5.00,2,NA,NA,yes,[],[],[Double-shot pure and intense shot of espresso, perfect geek rocket-fuel.]
tea,94889,Oolong Tea,4.00,NA,85,5,no,[],[lemon zest,honey,cinnamon stick,ginger slice],[A partially oxidized tea that falls between green and black tea in terms of flavor and caffeine content, with floral or fruity notes.]
tea,94885,Oolong Latte,4.50,NA,85,5,no,[Full-cream, Oat],[cream,honey,lemon zest],[Creamy and indulgent beverage that combines the rich flavor of oolong tea with steamed milk.]
tea,94886,Oolong Latte Vega

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

Define Administration and Management

Answered: 1 week ago

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago