This is java swing application for creating database of employees. The database used in it is MySql
- Java
- swing GUI widget toolkit
- MySql database
- JDBC driver
https://github.com/Ehteshamoddin/Employee-database-using-swing.git
- Install JDK and Intellij Idea
- MySql Database
public void connect() {
try {
Class.forName("com.mysql.cj.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/Name of database/Table created", "Database username", "Write here password for your database");
System.out.println("Successs");
} catch (ClassNotFoundException ex) {
ex.printStackTrace();
}
catch (SQLException ex) {
ex.printStackTrace();
}
}
- In place of
Name of database
write name of<Your own MySql Database>
- In place of
Database username
write username<MySql Database Username>
- In place of
Write here password for your database
write password<Password of MySql Database>
- Fork the repository.
- Clone
git clone https://github.com/Ehteshamoddin/Employee-database-using-swing
or Download the Zip. - Make Code changes or Documentation (README.md) changes.
- Add new branch if neccessary
git branch <branch-name>
and Push the Code changes. - Generate new 'Pull request'.
- Briefly specify the changes you have made and submit the request.
- Author & Creator of Repository Ehteshamoddin Shafioddin Siddiqui
- Active Contributer Ravindra Punekar
Always Feel free to raise and issue or directly contact me on social media handles as well as in git chat.