Shopping Cart System
Create a Java based application using JavaFX GUI that will perform the Shopping Cart System for an
online book store. You will read an input text file which has the name of the book title and the cost.
Each line in the file contains the name of a book, followed by a comma, followed by book’s retail price.
Input Text File Data
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
Starting out with Java, 49.99
When you read the file in your application, it should read the contents of the file and store the book
titles in ListVew. The user should be able to select the title from the list and add it to a “shopping cart”.
Applications should have buttons or menu items that will allow the user to remove items from the
shopping cart, clear the shopping cart for all items and checkout system.
When the user checks out, the application should calculate and display the subtotal of all the books in
the shopping cart, the sales tax (8.25%) and final total.
Be creative in designing your application. Need required Documentation (See syllabus). Check for data
validation and secure coding concepts.
Submit the application in D2L – Assignment – Project. File should be zipped in NetBeans format (See
PowerPoint in D2L – on NetBeans.)
Project File Name – YourFirstName_YourLastName_ShoppingCart
Input Text File Name – BookPriceList.txt