A simple chat application built with JavaFX for GUI and Java Sockets for client-server communication. This project allows real-time messaging between a server and one or multiple clients.
- Real-time chat between server and client.
- User-friendly GUI built with JavaFX.
- Open the
Server
project in your IDE (e.g., IntelliJ). - Run the
ServerController
class. - The server will start listening on port 1234.
- Open the
Client
project in your IDE. - Run the
ClientController
class. - Update the client IP if your server is on another machine:
client = new Client(new Socket("SERVER_IP_HERE", 1234));
- The JavaFX library files are included in this repository.
- If you import the project, just update the project structure to point to the
lib
folder containing JavaFX and add the VM. - No need to download JavaFX separately.