This Java application is a simple dashboard for managing a phone shop. It allows users to add, remove, and view phones, as well as import phone data from a CSV file.
To run the application, you need to have Java installed on your system. Follow these steps:
- Download the
DashBoard.javaandPhone.javafiles. - Compile the Java files using the following command in the terminal:
- Run the application using the following command:
javac DashBoard.javajava DashBoardOnce the application is running, you will see a dashboard with several buttons:
- Add Phone: Click this button to add a new phone. Enter the brand, name, and price of the phone in the displayed input dialogs.
- Add Phones (CSV): Click this button to import phones from a CSV file. Select a CSV file using the file chooser dialog that appears.
- View Phones: Click this button to view the list of phones currently in the shop.
- Remove Phone: Click this button to remove a phone from the shop. Enter the brand, name, and price of the phone in the displayed input dialogs.
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Created by TheStevenDev.