subject
Computers and Technology, 17.02.2020 19:49 pstiner

Create a Java GUI application that works like a shopping cart system for an online book store. You will be provided a file named BookPrice. txt. This file contains the names and prices of various books, formatted as follows: I Did It Your Way, 11.95 The History of Scotland, 14.50 Learn Calculus in One Day, 29.95 Feel the Stress, 18.50 Each line in the file contains the name of a book, followed by a comma, followed by the book’s retail price. When your application begins execution, it should read the contents of the file and store the titles in a ListView. The user should be able to select a book from the list and add it to the Shopping Cart. The Shopping Cart is another ListView. The application should have buttons or menu items that allow the user to Add Selected Items, Remove Selected Items, and Check Out. When the Check Out button is selected, the application should calculate and display the subtotal of all books in the shopping cart, the sales tax of 7%, and the total. It should also create a receipt file, which should be a text file that includes the books purchased, the quantities of each book purchased, their prices, and total price both before and after taxes. Here is an example of what the receipt file could look like:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
This device directs network traffic. bridge hub nic repeater router switch
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
Looking at the electroscope, describe how you can cause the two leaves at the bottom to repel each other and stay that way
Answers: 3
You know the right answer?
Create a Java GUI application that works like a shopping cart system for an online book store. You w...
Questions