For the initial setup (installation of JavaFX) please refer to Setup of JavaFX.
To test this Chatclient, you need to run two instances. You can either
- Run the Client on two separate machines on the same local network or
- Run two instances on the same machine How Can I do this?
- Create a chat as server (This needs to be done first!)
- Enter your username in the field on the bottom left.
- Click on the + icon in the left sidebar
- Enter a chat name, choose the server radio button
- Remember the presented IP-address, you will need it for the client
- Choose a port between 1024 - 65545 and remember it
- Click GO!
- Create a chat as Client (either on the second instance or second machine)
- Enter your username in the field on the bottom left.
- Click on the + icon in the left sidebar
- Enter a chat name, choose the client radio button
- Enter the IP from the server chat instance
- Enter the port from the server chat instance
- Click GO!
- Start chatting!