This project is an object-oriented programming (OOP) application for a PC components store. The application allows users to browse, select, and purchase various computer components. Video demostration
- User Registration: New users can create an account to start shopping.
- Login: Existing users can log in to access their accounts.
- Product Browsing: Users can browse through a wide range of PC components.
- Add to Cart: Users can add selected products to their shopping cart.
- Purchase: Users can complete their purchases through the application.
- Receipt Generation: After a successful purchase, users receive a receipt in a
.txt
file containing details of the transaction.
- Java: The application is developed using Java, leveraging object-oriented programming principles such as encapsulation, inheritance, and polymorphism.
- NetBeans IDE: The project was built using NetBeans IDE.
- JFrames: The user interface is implemented with JFrames to create a graphical user interface (GUI).
To set up and run the PC Components Store project locally in NetBeans, follow these steps:
Ensure you have the following software installed on your machine:
- Java Development Kit (JDK) (version 8 or higher)
- NetBeans IDE (version 12 or higher)
- Git (optional, for cloning the repository)
First, clone the repository from GitHub to your local machine:
git clone https:https://github.com/Dilan03/Proyecto-final-POO.git
- Open NetBeans IDE.
- Go to
File > Open Project...
. - Navigate to the location where you cloned the repository or extracted the ZIP file.
- Select the project folder (it should contain the
src
directory andnbproject
folder) and clickOpen Project
.
- Once the project is open, right-click on the project name in the Projects tab.
- Select
Build
orClean and Build
to compile the project.
- Right-click on the project name in the Projects tab again.
- Select
Run
to start the application.
The application should now launch, and you can interact with the GUI to register, log in, browse products, add items to the cart, and complete purchases.