We designed a Java GUI Program aiming to provide a THSR Booking System by software engineering(ex. UML, MVC model, design pattern).
- Install JDK 11
- Download Eclipse IDE for Java Developers(2018-09)
- Download MySQL Community Server
- Create MySQL database
- Username:
ooad
- Password:
password
- Username:
- Run
source OOAD/test_dao.sql
in MySQL shell.
- Create MySQL database
- Download JavaFx SDK for your favorite OS
- Following these instructions on Eclipse IDE:
- Create a User Library: Eclipse -> Window -> Preferences -> Java -> Build Path -> User Libraries -> New. Name it JavaFX11 and include the jars under the lib folder from JavaFX 11-ea.
- Create a Java project. You don't need to add a module-path class. Make sure that you select Java 11 and you add the JavaFX11 library to the project's modulepath.
- Add runtime arguments. Edit the project's run configuration, and add these VM arguments:
- https://stackoverflow.com/questions/52144931/how-to-add-javafx-runtime-to-eclipse-in-java-11
- Following these instructions on Eclipse IDE:
- Click
Run
on Eclipse IDE
- Our instructor - Huang Chien-Kang