Gini Quilter is a quilt maker with aspiration to sell her work on the Internet. She has commissioned you to design a simple invoice form to be used as a prototype for her website sales. A sample of the invoice form is shown to the right. The prototype should show only three quilt items, although she hopes to have all of her creations listed for the final web project. She has only 6 Shining Star quilts (first image in sample form) that sell for $950, 10 of the Kat Soup (second image) that sell for $480, and 3 Birch Trees (third image) that sell for $315 each. The sales tax rate is 9.8%. Write a Java application program that will calculate the invoice for a given order. Your invoice GUI (shown to the right at start time) does not have to be identical to the one shown, but it should provide the user the ability to enter a valid four-digit invoice number, number of each quilt ordered, and it should calculate the extended totals for each item, the subtotal, tax and the total. Images of three quilts (find your free images on the Internet) are required as are the buttons for Calculate, Clear and Quit. Make your buttons easy to use for keyboard entry. Make the Calculate button default and the Clear button the cancel button. Do not allow bad input data to cancel the program; instead display an error message to the user.
Get Free Quote!
384 Experts Online