In this project we made a flight system. Modules that we have listed below:
- Login
- Search Flight
- Select Flight
- Create Ticket
- Change Ticket
- Online Check In
I used Netbeans for coding and for GUI we used Java Swing Library. For database, I used MYSQL Workbench and POPSQL.
In database we have 13 tables. Table names listed below:
- bilet
- binis_karti
- fiyat
- havayolu
- koltuk
- kullanici
- sinif
- student
- ucak
- ucus
- ucus_noktasi
- yolcu
- yolcu_tipi
You must import database files to your MYSQL Workbench and in Connector.java you must change the username and password to your own MYSQL account. The code files are little bit nasty so it can be more connectors in java classes you have to change them all to your own MYSQL username and password. Don't forget to add the Java Connector to your library. This is the key of the connection between MYSQL and Java.
-
For learning MYSQL, you can watch this: https://youtu.be/HXV3zeQKqGY
-
For doing connection between MYSQL and Java watch this: https://youtu.be/2i4t-SL1VsU