This is a chat application created using Java with UI built in JavaFx. It lets you send/receive messages and friend requests through internet. There are 2 java packages.
- Client
- Server
Client and server packages include their respective UI's, controllers and application layers. Resources include the graphics/icons that are used throughout the application. Application provides both Light Theme and Dark Theme options.
You must run server.main() and start the server from the serverr UI before running clients. After running server.main(), run client.main() as many times you want.
Both, MySql connector and JavaFx library, are included in libs folder. You will need to manually add these in your project configurations. The below links will help you if you are using Intellij IDEA.
How to add JavaFX in project configuration in Intelij IDEA
How to add a library in IntelliJ IDEA
You can search on google in case you are using some other IDE, but the process is pretty similar.
You can set your Database port\Username\Password through these lines in makeDatabaseConnection() in server.WelcomeThread.java
String url = "jdbc:mysql://localhost:<YourDatabasePort>/chitchat";
String Username = "<YourDatabaseUsername>";
String Password = "<YourDatabasePassword>";