First, make sure to set the project's SDK and Language level to both java version "11.0.9" and 11 - Local variable syntax for lambda parameters
- Create a JavaFX Project inside Intellij.
- After successfully creating the project, go into VCS and create a Git repository. (Same directory as project)
- Go ahead and click Git and select Manage Remotes.
- Get the HTTPS clone link of our repository and add it as one of our remotes.
- Go to Git again and click Fetch then Pull.
To download JDBC, use the link and choose Platform Independent for the Operating System. Select the ZIP File to download. Download link here
To download JavaFX, select the LTS for Java 11.0.9. Download link here
Step 1. Extract the zip file into a safe location in your PC or "C:\Program Files*Folder Name*".
Change Folder Name to MySQL Connector or Java FX
Step 2. Go to IDEA and select File > Project Structure > Modules
Step 3. Click the + button on the right side window and click add JARs or Directories
Step 4. Here select all the files in your javafx/lib folder including the zip file
Step 5. Now, go to Run > Edit Configurations and add this into your VM options --module-path "path to javafx/lib" --add-modules=javafx.controls,javafx.fxml
For the MySQL Connector, choose mysql-connector-java-<'version'>-bin.jar to import as an external library. Double check in modules if the library is imported.
For Java FX, we must import all of the jar files found in the lib folder. Navigate to javafx-sdk-<'version'> then move to lib and import everything.
Step 1. Go to http://localhost/phpmyadmin and login with the root account.
Step 2. Create a new database on the left-side of the interface and name it as "221-events". (leave everything as default)
Step 3. Select your newly created database in the list on the left side of the interface.
Step 4. Go to the Import tab and select browse file. Locate the SQL file included in the project and select that file.
Step 5. Leave everything as default and click the "Go" button to import the dump.