Question: fast please In this assignment, you will write a program that calculates the total price for a list of mobile phones and tablets. Your program


fast please
In this assignment, you will write a program that calculates the total price for a list of mobile phones and tablets. Your program should request the user to enter the quantity for each available item to be purchased. The user has also to choose whether to calculate the total price with or without tax. Your program must first display the following screen: Calculate Total Price Product Price Quantity iPad Pro 1800.00 0 iPhoneX 2010.25 0 Galaxy Tab S 10 1750.50 10 Calculate with: Tax No Tax Submit If the user makes a mistake, e.g. in the entered quantity field, or does not indicate whether or not to do the calculation with tax, then when the user clicks the Submit button, your program must display a dialog window showing an error and a description of the committed errors. If there is no mistake, then the program should display in the text box the total price as requested (see the following screen for a sample). We will assume 5% tax rate. 1 Calculate Total Price Product Price Quantity iPad Pro 1800.00 2 iPhoneX 2010.25 1 Galaxy Tab S10 1750.50 10 Total price is 5890.76 Calculate with: Tax No Tax Submit You are required to use the Java's Swing GUI components introduced in Chapter 12. You are also free to use the NetBeans IDE GUI Builder. You must submit all Java files in your project. No grades will be granted if the Java files cannot compile and run successfully
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
