Skip to content

A Simple Chat App using Java FX to demonstrate TCP/IP Connection

Notifications You must be signed in to change notification settings

GabrielRivera21/ChatAppFx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatAppFx

A Chat App using Java FX to demonstrate TCP/IP Connection

Prerequisites

You will need the following things properly installed on your computer.

Configuring JavaFX SceneBuilder to Eclipse

After Installing JavaFX Scene Builder to your computer you need to:

  1. Open Eclipse
  2. Click Window -> Preferences
  3. Click on JavaFX
  4. Browse the SceneBuilder executable for the installed JavaFX Scene Builder 2.0.exe.

Setting up The Project

Clone the Repository

On your Terminal or Git Shell execute the following command on the directory where you want to clone the project.

$ git clone https://github.com/GabrielRivera21/ChatAppFx.git
Import the Project to Eclipse
  1. Click on File -> Import...
  2. Select on General -> Existing Projects into Workspace
  3. Then specify the directory where you cloned the project on Root Directory
  4. Check the Checkbox of the Project
  5. Click Finish

Running the Application

In order to run this Chat App on your local computer you must deploy the ChatServer first and then open a ChatClient and connect to that ChatServer.

Deploying the ChatServer
  1. Right-Click ChatServer.java -> Run As -> Java Application
  2. Then Click on Start on the GUI to start the Server.
Connecting to the ChatServer
  1. Right-Click ChatClient.java -> Run As -> Java Application
  2. Leave localhost on Host IP Field and Type in the Username you want.
  3. Click Login on the GUI and you should see yourself connected.

About

A Simple Chat App using Java FX to demonstrate TCP/IP Connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages