This project is an example of a Java Application which requires MySQL and NetBeans to work. Its very simple, just an interface with some backend. One key aspect of this project is the implementation of a database into an interface; the data is saved while the user can close and open the program at any time. If you want to duplicate this project, follow the steps below.
JDK 17: https://www.oracle.com/mx/java/technologies/downloads/#jdk17-windows
Neatbeans IDE 17: https://netbeans.apache.org/download/nb17/index.html
XAMPP: https://www.apachefriends.org/es/download.html
Java-MySQL Connector Jar: http://www.java2s.com/ref/jar/download-mysqlconnectorjava5147jar-file.html#google_vignette
The EmployerInformation zip from this project: https://github.com/Imanol57864/Java-MySQL-Application/blob/main/EmployerInformation.zip
The DB template from this project: https://github.com/Imanol57864/Java-MySQL-Application/blob/main/records.sql
- Install JDK 17.
- Install NetBeans IDE 17.
- Install XAMPP.
- Import the project "EmployerInformation.zip" into NetBeans.
- Open XAMPP and Start Apache and MySQL. (Got Problems? Go to XAMPP Setup down below).
- Click on Admin from MySQL.
- Create a new database and import the DB template.
- In NetBeans, Go into EmployeeInformation -> Source Packages -> employerinformation -> Interfaz.java".
- Build and clean that file, then, run it. Now start playing with it. Try adding some information or click on the ID from the table and the click on delete to remove some information.
- Start "Apache" y "MySQL".
- Click on Configure from Apache, then "phpMyAdmin config.inc.php".
- Go to " /*Bind to the localhost ipv4 address and tcp */ ".
- Change 'host' ip address for 'localhost:PORT'. (PORT = the port that shows up in XAMPP from MySQL) (Extra help: https://www.youtube.com/watch?v=2mHJTv3gyDE)