Answered step by step
Verified Expert Solution
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 and You may build on your Assignment submission as your starting point or start from scratch.
Before you start this task, attempt the Topic and 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 : 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 eg like SeekAGeek or FindAPet is fine but if you do choose to include images, ensure that you attribute your source correctly, eg at the top of the class that uses the images, include a short statement in a block comment noting wherewhenhow you sourced them.
Marking Guidelines
Code
My code does not compile in Java 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 audibleclear
My code does not contain any documentation Javadoc
Automatic ZERO grade
My GUI has a minimum of views including a search view, a results view and an input form view for user details
I have correctly used JFrame and JPanel, as well as at least THREE other components, eg JTextField, JRadioButton, JList, JComboBox, JButton, etc.
I have used at least two types of event listeners.
I have provided thorough user input validation with clear onpanel or modal dialog feedback where appropriate, including ensuring that:
My price range filter:
Allows decimal input.
Does not permit nondigit 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 tea or coffee prior to running a search.
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 entryselection of a choice OR by providing an 'I don't mind' or 'skip' option.
I have enabled selection of NONE, ONE, MORE THAN ONE and SKIP for extras.
I have used appropriate containers and components to allow users to view all their search results eg JScrollPane having the options to select an item, or alternatively, return to the search filters view.
I have used appropriate containers and components to create a form that enables the user to enter their contact details name and phone number andor email and a customization message. I have ensured input validation on all user input.
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:
Item: Mocha
Milk: Fullcream
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 togethertype,menu item IDmenu item name,price,numberOfShots,temperature celsiussteeping time minssugar,milk,extras,description
coffee,Cappuccino,NANAyes,Fullcream,SoyChocolate powder, CinnamonClassic Italian espresso drink with steamed milk foam and a sprinkle of chocolate powder and cinnamon.
coffee,Latte,NANAnoFullcream,SkimVanilla syrupSmooth espresso with steamed milk and a touch of vanilla syrup.
tea,Chai Tea,NAyes,Fullcream,Soy,Skim,OatHoneyagave syrup,cinnamon stickSpiced black tea originating from India, including cinnamon, cardamom, ginger, and cloves.
coffee,Espresso,NANAyes,Pure and intense shot of espresso, perfect for a quick geekmeup
tea,Earl Grey,NAnoLemonice,honey,vanilla extractBlack tea flavored with oil of bergamot, a citrus fruit.
coffee,Espresso Double,NANAyes,Doubleshot pure and intense shot of espresso, perfect geek rocketfuel.
tea,Oolong Tea,NAnolemon zest,honey,cinnamon stick,ginger sliceA partially oxidized tea that falls between green and black tea in terms of flavor and caffeine content, with floral or fruity notes.
tea,Oolong Latte,NAnoFullcream, Oatcreamhoney,lemon zestCreamy and indulgent beverage that combines the rich flavor of oolong tea with steamed milk.
tea,Oolong Latte Vega
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started