Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Chat Application

Introduction

This project implements a simple Java chat application consisting of a server and a client. Users can connect to the server to participate in a real-time chat.

System Requirements

Java Development Kit (JDK) 8 or later IntelliJ IDEA (or any other Java IDE)

Installation Instructions

Clone the repository:

git clone https://github.com/GianbaBotassi/JavaChatApp.git

Open the project in IntelliJ IDEA:

Configure the server:

Run the ChatServer class. The server will start on port 5000.

Run multiple chat Clients:

  1. Navigate to "Edit Configurations" by clicking on the dropdown in the toolbar.

  2. Click on the "+" symbol to add a new configuration.

  3. Choose a name for the configuration and select the main ChatClientGUI class.

  4. Click "Apply."

  5. Run each configuration individually.

  6. Enter your name in the initial dialog window for each instance.

  7. Press "Enter" to send a message.

To exit the chat, click the "Exit" button.

About

This is a basic implementation of a chat server that allows multiple clients to connect, send messages, and receive messages broadcasted to all connected clients.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages