Question: Task 2: [05&06][7+8=15 Marks] Create a JAVA program which has following form: CAFE MENU ITEMS DISCOUNT Quantity TEA 10 5% COFFEE 15 No discount JUICE
![Task 2: [05&06][7+8=15 Marks] Create a JAVA program which has following](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66df73a6267c0_16566df73a5b9fcd.jpg)
Task 2: [05&06][7+8=15 Marks] Create a JAVA program which has following form: CAFE MENU ITEMS DISCOUNT Quantity TEA 10 5% COFFEE 15 No discount JUICE 30 CALCULATE CLEAR EXIT Total Price Discount Q1. Design the above form and assign any properties to different parts. [05][7 Marks] (Back Color, Fore Color, Text, Name, Font, Panel color) Q2. Do following actions: [06][8 Marks] When user click Calculate button - it should display total price and discount in the text box. [5 Marks) (Note: user can select one or more item, enter quantities and choose the discount) Total price = 10*Quantity of Tea+15*Quantity of Coffee+30*Quantity of Juice Discount=Discount % of Total price When user clicks the Clear button, it should clear all the textboxes and checkboxes. [2 Mark] When user clicks the Exit button it will exit from the form. [1 Mark]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
