A java desktop application intended for solving billing services and payments. It uses:
- Java SQL connector to access a SQL database and query its data.
- JavaFX library for designing a modern desktop UI
- Socket/Server connection to retrieve hosted API Data
3 librarires must be fully configured and satisfied in order for this project ot be ran.
-
Java JDK 15 : https://www.techspot.com/downloads/5552-java-15-jdk.html
-
JavaFX Library : https://gluonhq.com/products/javafx/
-
MySQL Java Connector : https://dev.mysql.com/downloads/connector/j
After these three libraries are downloaded they must be configured for project structure. It is recommended that Intellij is used as a default Java IDE.
-
Open Project Stucture (File - Project Strcuture).
-
Browse to PROJECT and set the Default SDK to JDK 15 previously downloaded (Click on SDK - Add SDK - JDK - and browse for JDK 15 directory).
-
Browse to MODULES and Click on the + sign, select "JAR or Directories.." and browse to "MySQL/Connector J 8.0/mysql-connector-java.jar". click OK.
-
Browse to LIBRARIES and Click on the + sign, browser to "Javafx-sdk-18.0/bin". click OK.
-
Save changes to Modules by clicking Apply.
-
Close Project Structure and Open Edit Configurations (Run - Edit Configurations..)
-
In the Application "GUI.main" under "Build and Run" you will find an input box named "VM Options" copy paste this command in that box.
--module-path "PATH_TO_JAVAFX\javafx-sdk-18.0.1\lib" --add-modules javafx.controls,javafx.fxml
MacOS : for macOS users path name should not be wrapped in double quotes.
Now you should be able to build this project as in compile it properly and run on Java's virtual machine.
for further informaton about JavaFX : https://openjfx.io/openjfx-docs
For building Information : https://www.jetbrains.com/help/idea/compiling-applications.html#run_packaged_jar