https://github.com/ilvondir/java-vending-machine
A Java windowed application that showcases the operation of a snack vending machine.
https://github.com/ilvondir/java-vending-machine
java jdbc maven swing
Last synced: 4 months ago
JSON representation
A Java windowed application that showcases the operation of a snack vending machine.
- Host: GitHub
- URL: https://github.com/ilvondir/java-vending-machine
- Owner: Ilvondir
- License: mit
- Created: 2022-11-30T19:23:56.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T08:33:04.000Z (over 1 year ago)
- Last Synced: 2024-05-01T12:11:32.366Z (over 1 year ago)
- Topics: java, jdbc, maven, swing
- Language: Java
- Homepage:
- Size: 3.13 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snack Vending Machine
The project presents the operation of a vending machine selling snacks and drinks. It was made in the Java graphical user interface using the Swing library. The software allows you to throw money into the machine and buy the selected product. The program retrieves product data from a database using JDBC.
The project was created to fulfill the requirements of the university course Object-Oriented Programming in the Computer Science degree. The project received a grade of 5.0 on a scale from 2 to 5.
## Used Tools
- Java SE 19
- Swing
- JDBC 4.3
- MySQL Connector/J 8.0.30
- JACo MP3 Player 0.9.3
- Maven 4.0.0
## Requirements
For running this program you need:
- [Java](https://www.java.com/en/download)
- SQL Server e.g. [XAMPP](https://www.apachefriends.org/pl/index.html)
## How to run
1. Install [XAMPP](https://www.apachefriends.org/pl/index.html).
2. Execute command `git clone https://github.com/Ilvondir/java-vending-machine`.
3. Open XAMPP and start Apache with MySQL.
4. Type `localhost` in your browser and open `phpMyAdmin`.
5. Import database from `sql/java-vending-machine.sql`.
6. Install library from `src/main/resources/lib`.
6. Open and compile project in Java IDE.
## First Look
