Event-driven e-commerce simulation built with Java Swing. The application reads an external inventory.csv file, validates item lookups and quantities, applies bulk discounts, calculates totals with tax, appends transactions to transactions.csv, and renders an invoice UI.
Included Files
NileDotCom.java— Java Swing storefrontinventory.csv— Product catalog (id, title, in-stock, quantity on hand, price)transactions.csv— Appended order log
Skills Learned
- Event-driven programming with Swing (panels, layout, buttons, text fields)
- File I/O and CSV parsing
- Input validation and error handling
- Cart state management and pricing/discount logic
- Formatted invoices and transaction logging
Screenshots
inventory.csv view